Al Viro
4f765d842f
[IPV4]: INET_MATCH() annotations
...
INET_MATCH() and friends depend on an interesting set of kludges:
* there's a pair of adjacent fields in struct inet_sock - __be16 dport
followed by __u16 num. We want to search by pair, so we combine the keys into
a single 32bit value and compare with 32bit value read from &...->dport.
* on 64bit targets we combine comparisons with pair of adjacent __be32
fields in the same way.
Make sure that we don't mix those values with anything else and that pairs
we form them from have correct types.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-09-28 18:02:25 -07:00
..
2006-09-26 17:40:24 -04:00
2006-09-27 08:26:18 -07:00
2006-09-28 18:01:21 -07:00
2006-09-27 11:58:52 -07:00
2006-09-26 17:43:53 -07:00
2006-09-28 17:53:58 -07:00
2006-09-26 08:48:45 -07:00
2006-09-27 08:26:14 -07:00
2006-09-26 08:49:03 -07:00
2006-09-26 08:48:59 -07:00
2006-09-27 08:26:19 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:56 -07:00
2006-09-27 08:26:18 -07:00
2006-09-28 18:02:08 -07:00
2006-09-27 08:26:10 -07:00
2006-09-27 08:26:10 -07:00
2006-09-27 08:26:09 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:12 -07:00
2006-09-26 17:40:24 -04:00
2006-09-26 08:48:46 -07:00
2006-09-26 15:38:51 -07:00
2006-09-26 15:38:52 -07:00
2006-09-26 15:38:52 -07:00
2006-09-28 18:02:18 -07:00
2006-09-28 18:02:13 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:01:57 -07:00
2006-09-28 18:01:05 -07:00
2006-09-27 08:26:17 -07:00
2006-09-28 17:54:01 -07:00
2006-09-28 18:02:25 -07:00
2006-09-26 08:48:53 -07:00
2006-09-27 08:26:10 -07:00
2006-09-26 10:52:42 +02:00
2006-09-27 08:26:12 -07:00
2006-09-26 08:48:47 -07:00
2006-09-27 08:26:12 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:13 -07:00
2006-09-27 08:26:19 -07:00
2006-09-28 18:02:22 -07:00
2006-09-27 08:26:20 -07:00
2006-09-26 08:48:49 -07:00
2006-09-26 08:48:48 -07:00
2006-09-28 18:01:40 -07:00
2006-09-26 17:43:52 -07:00
2006-09-26 17:43:54 -07:00
2006-09-26 17:43:53 -07:00
2006-09-26 08:48:47 -07:00
2006-09-27 08:26:19 -07:00
2006-09-27 08:26:14 -07:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-09-26 10:52:38 +02:00
2006-09-26 08:48:52 -07:00
2006-09-27 08:26:11 -07:00
2006-09-27 08:26:18 -07:00
2006-09-26 08:48:56 -07:00
2006-09-26 08:49:02 -07:00
2006-09-26 08:48:58 -07:00
2006-09-26 13:07:55 -07:00
2006-09-28 18:02:05 -07:00
2006-09-28 17:53:59 -07:00
2006-09-27 08:26:20 -07:00
2006-09-28 18:02:16 -07:00
2006-09-27 11:58:54 -07:00
2006-09-28 15:36:46 -07:00
2006-09-27 08:26:13 -07:00
2006-09-26 08:48:47 -07:00
2006-09-26 08:48:44 -07:00