2005-04-16 22:20:36 +00:00
|
|
|
#ifndef _NET_RAWV6_H
|
|
|
|
#define _NET_RAWV6_H
|
|
|
|
|
2007-06-27 06:56:32 +00:00
|
|
|
#include <net/protocol.h>
|
|
|
|
|
2016-10-21 10:03:44 +00: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,
|
2017-08-07 15:44:22 +00:00
|
|
|
const struct in6_addr *rmt_addr, int dif, int sdif);
|
2016-10-21 10:03:44 +00:00
|
|
|
|
|
|
|
int raw_abort(struct sock *sk, int err);
|
|
|
|
|
2007-11-20 06:35:57 +00:00
|
|
|
void raw6_icmp_error(struct sk_buff *, int nexthdr,
|
2009-06-23 11:31:07 +00:00
|
|
|
u8 type, u8 code, int inner_offset, __be32);
|
2012-05-18 18:57:34 +00:00
|
|
|
bool raw6_local_deliver(struct sk_buff *, int);
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2013-09-22 17:32:19 +00:00
|
|
|
int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2007-06-27 06:56:32 +00: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-16 22:20:36 +00:00
|
|
|
#endif
|