/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Based on include/net/udp.h * Authors: Ross Biro * Fred N. van Kempen, * * Fixes: * Alan Cox : Turned on udp checksums. I don't want to * chase 'memory corruption' bugs that aren't! * * NewIP INET * An implementation of the TCP/IP protocol suite for the LINUX * operating system. NewIP INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the NewIP UDP module. */ #ifndef _NET_NEWIP_UDP_H #define _NET_NEWIP_UDP_H #include #include #include #include #include #define NIP_UDP_HSLOT_COUNT 10 int nip_udp_init(void); int nip_udp_output(struct sock *sk, struct msghdr *msg, size_t len); int nip_udp_input(struct sk_buff *skb); int nip_udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock, int flags, int *addr_len); #endif