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