2005-04-17 05:20:36 +07:00
|
|
|
#ifndef _NET_RAWV6_H
|
|
|
|
#define _NET_RAWV6_H
|
|
|
|
|
2007-06-27 13:56:32 +07:00
|
|
|
#include <net/protocol.h>
|
|
|
|
|
2016-10-21 17:03:44 +07:00
|
|
|
extern struct raw_hashinfo raw_v6_hashinfo;
|
|
|
|
struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
|
|
|
|
unsigned short num, const struct in6_addr *loc_addr,
|
|
|
|
const struct in6_addr *rmt_addr, int dif);
|
|
|
|
|
|
|
|
int raw_abort(struct sock *sk, int err);
|
|
|
|
|
2007-11-20 13:35:57 +07:00
|
|
|
void raw6_icmp_error(struct sk_buff *, int nexthdr,
|
2009-06-23 18:31:07 +07:00
|
|
|
u8 type, u8 code, int inner_offset, __be32);
|
2012-05-19 01:57:34 +07:00
|
|
|
bool raw6_local_deliver(struct sk_buff *, int);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2013-09-23 00:32:19 +07:00
|
|
|
int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2007-06-27 13:56:32 +07:00
|
|
|
#if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
|
|
|
|
int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
|
|
|
|
struct sk_buff *skb));
|
|
|
|
int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
|
|
|
|
struct sk_buff *skb));
|
|
|
|
#endif
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#endif
|