1ba4e58ecSGerrit Renker #ifndef _UDP4_IMPL_H 2ba4e58ecSGerrit Renker #define _UDP4_IMPL_H 3ba4e58ecSGerrit Renker #include <net/udp.h> 4ba4e58ecSGerrit Renker #include <net/udplite.h> 5ba4e58ecSGerrit Renker #include <net/protocol.h> 6ba4e58ecSGerrit Renker #include <net/inet_common.h> 7ba4e58ecSGerrit Renker 8*7e58487bSJoe Perches int __udp4_lib_rcv(struct sk_buff *, struct udp_table *, int); 9*7e58487bSJoe Perches void __udp4_lib_err(struct sk_buff *, u32, struct udp_table *); 10ba4e58ecSGerrit Renker 11*7e58487bSJoe Perches int udp_v4_get_port(struct sock *sk, unsigned short snum); 12ba4e58ecSGerrit Renker 13*7e58487bSJoe Perches int udp_setsockopt(struct sock *sk, int level, int optname, 14b7058842SDavid S. Miller char __user *optval, unsigned int optlen); 15*7e58487bSJoe Perches int udp_getsockopt(struct sock *sk, int level, int optname, 16ba4e58ecSGerrit Renker char __user *optval, int __user *optlen); 17ba4e58ecSGerrit Renker 18ba4e58ecSGerrit Renker #ifdef CONFIG_COMPAT 19*7e58487bSJoe Perches int compat_udp_setsockopt(struct sock *sk, int level, int optname, 20b7058842SDavid S. Miller char __user *optval, unsigned int optlen); 21*7e58487bSJoe Perches int compat_udp_getsockopt(struct sock *sk, int level, int optname, 22ba4e58ecSGerrit Renker char __user *optval, int __user *optlen); 23ba4e58ecSGerrit Renker #endif 24*7e58487bSJoe Perches int udp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, 25ba4e58ecSGerrit Renker size_t len, int noblock, int flags, int *addr_len); 26*7e58487bSJoe Perches int udp_sendpage(struct sock *sk, struct page *page, int offset, size_t size, 27*7e58487bSJoe Perches int flags); 28*7e58487bSJoe Perches int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb); 29*7e58487bSJoe Perches void udp_destroy_sock(struct sock *sk); 30ba4e58ecSGerrit Renker 31ba4e58ecSGerrit Renker #ifdef CONFIG_PROC_FS 32*7e58487bSJoe Perches int udp4_seq_show(struct seq_file *seq, void *v); 33ba4e58ecSGerrit Renker #endif 34ba4e58ecSGerrit Renker #endif /* _UDP4_IMPL_H */ 35