blob: 36373719fbedf0f18f3b362b523c27ae3d0bf63d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _NET_RAWV6_H
#define _NET_RAWV6_H
#ifdef __KERNEL__
#define RAWV6_HTABLE_SIZE MAX_INET_PROTOS
extern struct sock *raw_v6_htable[RAWV6_HTABLE_SIZE];
extern struct sock *raw_v6_lookup(struct sock *sk, unsigned short num,
struct in6_addr *loc_addr, struct in6_addr *rmt_addr);
extern int rawv6_rcv(struct sk_buff *skb,
struct device *dev,
struct in6_addr *saddr,
struct in6_addr *daddr,
struct ipv6_options *opt,
unsigned short len);
extern void rawv6_err(struct sock *sk,
int type, int code,
unsigned char *buff,
struct in6_addr *saddr,
struct in6_addr *daddr);
#endif
#endif
|