rawv6.h 543 B

1234567891011121314151617181920
  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. bool raw6_local_deliver(struct sk_buff *, int);
  7. int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
  8. #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
  9. int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
  10. struct sk_buff *skb));
  11. int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
  12. struct sk_buff *skb));
  13. #endif
  14. #endif