RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
udp_usrreq.c File Reference
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/syslog.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/in_pcb.h>
#include <netinet/in_var.h>
#include <netinet/ip_var.h>
#include <netinet/ip_icmp.h>
#include <netinet/udp.h>
#include <netinet/udp_var.h>
Include dependency graph for udp_usrreq.c:

Macros

#define UDBHASHSIZE   64
 

Functions

 SYSCTL_INT (_net_inet_udp, UDPCTL_CHECKSUM, checksum, CTLFLAG_RW, &udpcksum, 0, "")
 
 SYSCTL_INT (_net_inet_udp, OID_AUTO, log_in_vain, CTLFLAG_RW, &log_in_vain, 0, "")
 
 SYSCTL_STRUCT (_net_inet_udp, UDPCTL_STATS, stats, CTLFLAG_RD, &udpstat, udpstat, "")
 
void udp_init (void)
 
void udp_input (struct mbuf *m, int iphlen)
 
void udp_ctlinput (int cmd, struct sockaddr *sa, void *vip)
 
 SYSCTL_PROC (_net_inet_udp, UDPCTL_PCBLIST, pcblist, CTLFLAG_RD, 0, 0, udp_pcblist, "S,xinpcb", "List of active UDP sockets")
 
 SYSCTL_INT (_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW, &udp_sendspace, 0, "")
 
 SYSCTL_INT (_net_inet_udp, UDPCTL_RECVSPACE, recvspace, CTLFLAG_RW, &udp_recvspace, 0, "")
 
int udp_usrreq (struct socket *so, int req, struct mbuf *m, struct mbuf *addr, struct mbuf *control)
 

Variables

struct inpcbhead udb
 
struct inpcbinfo udbinfo
 
struct udpstat udpstat