Import 2.1.120pre1
[davej-history.git] / include / net / rawv6.h
blobd54572d1fbce8071486d09ee4373e3430d0ef99d
1 #ifndef _NET_RAWV6_H
2 #define _NET_RAWV6_H
4 #ifdef __KERNEL__
6 #define RAWV6_HTABLE_SIZE MAX_INET_PROTOS
7 extern struct sock *raw_v6_htable[RAWV6_HTABLE_SIZE];
10 extern struct sock *raw_v6_lookup(struct sock *sk, unsigned short num,
11 struct in6_addr *loc_addr, struct in6_addr *rmt_addr);
13 extern int rawv6_rcv(struct sock *sk,
14 struct sk_buff *skb,
15 unsigned long len);
18 extern void rawv6_err(struct sock *sk,
19 struct sk_buff *skb,
20 struct ipv6hdr *hdr,
21 struct inet6_skb_parm *opt,
22 int type, int code,
23 unsigned char *buff, u32 info);
25 #endif
27 #endif