[INET]: Generalise the TCP sock ID lookup routines
And also some TIME_WAIT functions. [acme@toy net-2.6.14]$ grep built-in /tmp/before.size /tmp/after.size /tmp/before.size: 282955 13122 9312 305389 4a8ed net/ipv4/built-in.o /tmp/after.size: 281566 13122 9312 304000 4a380 net/ipv4/built-in.o [acme@toy net-2.6.14]$ I kept them still inlined, will uninline at some point to see what would be the performance difference. Signed-off-by:Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_hashtables.h 72 additions, 5 deletionsinclude/net/inet_hashtables.h
- include/net/inet_timewait_sock.h 9 additions, 0 deletionsinclude/net/inet_timewait_sock.h
- include/net/sock.h 6 additions, 6 deletionsinclude/net/sock.h
- net/ipv4/Makefile 1 addition, 0 deletionsnet/ipv4/Makefile
- net/ipv4/inet_hashtables.c 2 additions, 0 deletionsnet/ipv4/inet_hashtables.c
- net/ipv4/inet_timewait_sock.c 83 additions, 0 deletionsnet/ipv4/inet_timewait_sock.c
- net/ipv4/tcp_diag.c 3 additions, 5 deletionsnet/ipv4/tcp_diag.c
- net/ipv4/tcp_ipv4.c 8 additions, 75 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 4 additions, 74 deletionsnet/ipv4/tcp_minisocks.c
net/ipv4/inet_timewait_sock.c
0 → 100644
Please register or sign in to comment