Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _NET_RAWV6_H
 3#define _NET_RAWV6_H
 4
 5#include <net/protocol.h>
 6#include <net/raw.h>
 7
 8extern struct raw_hashinfo raw_v6_hashinfo;
 9bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num,
10		  const struct in6_addr *loc_addr,
11		  const struct in6_addr *rmt_addr, int dif, int sdif);
12
13int raw_abort(struct sock *sk, int err);
14
15void raw6_icmp_error(struct sk_buff *, int nexthdr,
16		u8 type, u8 code, int inner_offset, __be32);
17bool raw6_local_deliver(struct sk_buff *, int);
18
19int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
20
21#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
22int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
23					   struct sk_buff *skb));
24int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
25					     struct sk_buff *skb));
26#endif
27
28#endif
v4.6
 
 1#ifndef _NET_RAWV6_H
 2#define _NET_RAWV6_H
 3
 4#include <net/protocol.h>
 
 
 
 
 
 
 
 
 5
 6void raw6_icmp_error(struct sk_buff *, int nexthdr,
 7		u8 type, u8 code, int inner_offset, __be32);
 8bool raw6_local_deliver(struct sk_buff *, int);
 9
10int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
11
12#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
13int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
14					   struct sk_buff *skb));
15int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
16					     struct sk_buff *skb));
17#endif
18
19#endif