rawv6.h 805 B

1234567891011121314151617181920212223242526
  1. #ifndef _NET_RAWV6_H
  2. #define _NET_RAWV6_H
  3. #include <net/protocol.h>
  4. extern struct raw_hashinfo raw_v6_hashinfo;
  5. struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
  6. unsigned short num, const struct in6_addr *loc_addr,
  7. const struct in6_addr *rmt_addr, int dif);
  8. int raw_abort(struct sock *sk, int err);
  9. void raw6_icmp_error(struct sk_buff *, int nexthdr,
  10. u8 type, u8 code, int inner_offset, __be32);
  11. bool raw6_local_deliver(struct sk_buff *, int);
  12. int rawv6_rcv(struct sock *sk, struct sk_buff *skb);
  13. #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
  14. int rawv6_mh_filter_register(int (*filter)(struct sock *sock,
  15. struct sk_buff *skb));
  16. int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
  17. struct sk_buff *skb));
  18. #endif
  19. #endif