Eric Dumazet 5080546682 inet: consolidate INET_TW_MATCH
TCP listener refactoring, part 2 :

We can use a generic lookup, sockets being in whatever state, if
we are sure all relevant fields are at the same place in all socket
types (ESTABLISH, TIME_WAIT, SYN_RECV)

This patch removes these macros :

 inet_addrpair, inet_addrpair, tw_addrpair, tw_portpair

And adds :

 sk_portpair, sk_addrpair, sk_daddr, sk_rcv_saddr

Then, INET_TW_MATCH() is really the same than INET_MATCH()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-10-03 15:33:35 -04:00
..
2012-07-19 10:43:03 -07:00
2013-01-27 22:46:33 -05:00
2013-10-03 15:33:35 -04:00
2012-08-06 13:40:47 -07:00
2013-10-03 15:33:35 -04:00
2013-06-04 16:43:42 -07:00
2012-05-16 15:17:08 -04:00