diff options
| author | Xin Long <[email protected]> | 2023-03-07 16:31:30 -0500 |
|---|---|---|
| committer | Florian Westphal <[email protected]> | 2023-03-08 14:25:40 +0100 |
| commit | 28e144cf5f72ce1c304571bc448e37c27495903a (patch) | |
| tree | cc69fb3a89b83153194ad4c48f837b953dfc7119 /include/linux | |
| parent | 0b24bd71a6c0214aaa2115302dd6598b89d2fa8a (diff) | |
netfilter: move br_nf_check_hbh_len to utils
Rename br_nf_check_hbh_len() to nf_ip6_check_hbh_len() and move it
to netfilter utils, so that it can be used by other modules, like
ovs and tc.
Signed-off-by: Xin Long <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Aaron Conole <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netfilter_ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index 48314ade1506..7834c0be2831 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h @@ -197,6 +197,8 @@ static inline int nf_cookie_v6_check(const struct ipv6hdr *iph, __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, unsigned int dataoff, u_int8_t protocol); +int nf_ip6_check_hbh_len(struct sk_buff *skb, u32 *plen); + int ipv6_netfilter_init(void); void ipv6_netfilter_fini(void); |