rawv6.h 585 B

123456789101112131415161718192021222324
  1. #ifndef _NET_RAWV6_H
  2. #define _NET_RAWV6_H
  3. #ifdef __KERNEL__
  4. #include <net/protocol.h>
  5. void raw6_icmp_error(struct sk_buff *, int nexthdr,
  6. u8 type, u8 code, int inner_offset, __be32);
  7. int raw6_local_deliver(struct sk_buff *, int);
  8. extern int rawv6_rcv(struct sock *sk,
  9. struct sk_buff *skb);
  10. #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
  11. int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
  12. struct sk_buff *skb));
  13. int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
  14. struct sk_buff *skb));
  15. #endif
  16. #endif
  17. #endif