diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2011-12-09 07:23:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-09 20:14:08 +0100 |
commit | 1942c518ca017f376b267a7c5e78c15d37202442 (patch) | |
tree | 9ead5443adf15f2264240c928ff2514349fdcade /net/dccp/input.c | |
parent | inet_diag: Introduce the inet socket dumping routine (diff) | |
download | linux-1942c518ca017f376b267a7c5e78c15d37202442.tar.xz linux-1942c518ca017f376b267a7c5e78c15d37202442.zip |
inet_diag: Generalize inet_diag dump and get_exact calls
Introduce two callbacks in inet_diag_handler -- one for dumping all
sockets (with filters) and the other one for dumping a single sk.
Replace direct calls to icsk handlers with indirect calls to callbacks
provided by handlers.
Make existing TCP and DCCP handlers use provided helpers for icsk-s.
The UDP diag module will provide its own.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
0 files changed, 0 insertions, 0 deletions