rawv6.h 558 B

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