]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/net/rawv6.h
sched/headers: Remove various unrelated headers from <linux/sched.h>
[mirror_ubuntu-artful-kernel.git] / include / net / rawv6.h
CommitLineData
1da177e4
LT
1#ifndef _NET_RAWV6_H
2#define _NET_RAWV6_H
3
59fbb3a6
MN
4#include <net/protocol.h>
5
432490f9
CG
6extern struct raw_hashinfo raw_v6_hashinfo;
7struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
8 unsigned short num, const struct in6_addr *loc_addr,
9 const struct in6_addr *rmt_addr, int dif);
10
11int raw_abort(struct sock *sk, int err);
12
69d6da0b 13void raw6_icmp_error(struct sk_buff *, int nexthdr,
d5fdd6ba 14 u8 type, u8 code, int inner_offset, __be32);
a50feda5 15bool raw6_local_deliver(struct sk_buff *, int);
1da177e4 16
0ad6ad94 17int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
1da177e4 18
59fbb3a6
MN
19#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
20int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
21 struct sk_buff *skb));
22int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
23 struct sk_buff *skb));
24#endif
25
1da177e4 26#endif