diff options
author | Eric Dumazet | 2022-06-17 20:47:04 -0700 |
---|---|---|
committer | David S. Miller | 2022-06-19 10:00:02 +0100 |
commit | ba44f8182ec299c5d1c8a72fc0fde4ec127b5a6d (patch) | |
tree | bc0d40fdd1e53bd870f07b2d0d6607932367330e /include/net/raw.h | |
parent | 8670dc33f48bab4d7bb4b8d0232f17f4dae419ec (diff) |
raw: use more conventional iterators
In order to prepare the following patch,
I change raw v4 & v6 code to use more conventional
iterators.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/raw.h')
-rw-r--r-- | include/net/raw.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/raw.h b/include/net/raw.h index 8ad8df594853..719d3556fc0a 100644 --- a/include/net/raw.h +++ b/include/net/raw.h @@ -20,9 +20,8 @@ extern struct proto raw_prot; extern struct raw_hashinfo raw_v4_hashinfo; -struct sock *__raw_v4_lookup(struct net *net, struct sock *sk, - unsigned short num, __be32 raddr, - __be32 laddr, int dif, int sdif); +bool raw_v4_match(struct net *net, struct sock *sk, unsigned short num, + __be32 raddr, __be32 laddr, int dif, int sdif); int raw_abort(struct sock *sk, int err); void raw_icmp_error(struct sk_buff *, int, u32); |