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-28 17:54:08 -07:00
2006-09-28 18:02:04 -07:00
2006-09-28 18:01:53 -07:00
2006-09-22 15:05:15 -07:00
2006-09-28 18:02:14 -07:00
2006-09-25 15:56:09 -07:00
2006-09-28 17:54:06 -07:00
2006-09-28 18:01:05 -07:00
2006-09-22 15:17:35 -07:00
2006-09-28 18:02:23 -07:00
2006-09-28 18:01:11 -07:00
2006-09-28 18:02:23 -07:00
2006-09-28 18:02:24 -07:00
2006-09-28 18:02:23 -07:00
2006-09-28 18:01:14 -07:00
2006-09-28 18:02:19 -07:00
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:15 -07:00
2006-07-21 14:51:30 -07:00
2006-09-28 18:02:25 -07:00
2006-06-30 19:25:36 +02:00
2006-09-28 18:01:09 -07:00
2006-06-30 19:25:36 +02:00
2006-09-28 18:01:09 -07:00
2006-09-22 15:19:43 -07:00
2006-07-24 23:45:16 -07:00
2006-09-28 18:01:55 -07:00
2006-09-28 18:01:53 -07:00
2006-09-28 18:02:09 -07:00
2006-09-22 15:05:15 -07:00
2006-09-22 14:54:21 -07:00
2006-09-22 15:19:43 -07:00
2006-09-28 18:02:22 -07:00
2006-09-24 20:13:03 -07:00
2006-09-22 14:53:33 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-09-28 18:01:17 -07:00
2006-09-22 14:53:53 -07:00
2006-09-22 14:54:41 -07:00
2006-06-30 19:25:36 +02:00
2006-09-28 18:01:54 -07:00
2006-09-28 17:54:16 -07:00
2006-09-22 14:53:29 -07:00
2006-09-24 20:11:58 -07:00
2006-09-22 15:18:04 -07:00
2006-09-24 20:11:58 -07:00
2006-09-22 15:18:13 -07:00
2006-06-30 19:25:36 +02:00
2006-09-22 15:18:13 -07:00
2006-09-22 15:18:13 -07:00
2006-09-22 15:18:13 -07:00
2006-09-28 18:02:11 -07:00
2006-09-28 18:01:51 -07:00
2006-09-22 15:18:03 -07:00
2006-09-22 14:55:03 -07:00
2006-09-28 18:02:20 -07:00
2006-08-13 18:05:09 -07:00
2006-06-30 19:25:36 +02:00
2006-09-22 14:55:03 -07:00
2006-09-22 15:18:13 -07:00
2006-09-22 15:18:13 -07:00
2006-09-22 15:18:13 -07:00
2006-09-22 15:19:05 -07:00
2006-09-28 18:02:17 -07:00
2006-09-22 15:05:15 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:18:48 -07:00
2006-09-22 15:19:06 -07:00
2006-09-22 15:19:06 -07:00
2006-09-22 15:05:15 -07:00