udp_impl.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _UDP6_IMPL_H
  2. #define _UDP6_IMPL_H
  3. #include <net/udp.h>
  4. #include <net/udplite.h>
  5. #include <net/protocol.h>
  6. #include <net/addrconf.h>
  7. #include <net/inet_common.h>
  8. #include <net/transp_v6.h>
  9. int __udp6_lib_rcv(struct sk_buff *, struct udp_table *, int);
  10. void __udp6_lib_err(struct sk_buff *, struct inet6_skb_parm *, u8, u8, int,
  11. __be32, struct udp_table *);
  12. int udp_v6_get_port(struct sock *sk, unsigned short snum);
  13. int udpv6_getsockopt(struct sock *sk, int level, int optname,
  14. char __user *optval, int __user *optlen);
  15. int udpv6_setsockopt(struct sock *sk, int level, int optname,
  16. char __user *optval, unsigned int optlen);
  17. #ifdef CONFIG_COMPAT
  18. int compat_udpv6_setsockopt(struct sock *sk, int level, int optname,
  19. char __user *optval, unsigned int optlen);
  20. int compat_udpv6_getsockopt(struct sock *sk, int level, int optname,
  21. char __user *optval, int __user *optlen);
  22. #endif
  23. int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
  24. int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
  25. int flags, int *addr_len);
  26. int __udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
  27. void udpv6_destroy_sock(struct sock *sk);
  28. #ifdef CONFIG_PROC_FS
  29. int udp6_seq_show(struct seq_file *seq, void *v);
  30. #endif
  31. #endif /* _UDP6_IMPL_H */