Linux Audio

Check our new training course

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