Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/udp_var.h
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | |||||
#define UDPCTL_MAXDGRAM 3 /* max datagram size */ | #define UDPCTL_MAXDGRAM 3 /* max datagram size */ | ||||
#define UDPCTL_RECVSPACE 4 /* default receive buffer space */ | #define UDPCTL_RECVSPACE 4 /* default receive buffer space */ | ||||
#define UDPCTL_PCBLIST 5 /* list of PCBs for UDP sockets */ | #define UDPCTL_PCBLIST 5 /* list of PCBs for UDP sockets */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <netinet/in_pcb.h> | #include <netinet/in_pcb.h> | ||||
SYSCTL_DECL(_net_inet_udp); | SYSCTL_DECL(_net_inet_udp); | ||||
extern struct pr_usrreqs udp_usrreqs; | |||||
VNET_DECLARE(struct inpcbinfo, udbinfo); | VNET_DECLARE(struct inpcbinfo, udbinfo); | ||||
VNET_DECLARE(struct inpcbinfo, ulitecbinfo); | VNET_DECLARE(struct inpcbinfo, ulitecbinfo); | ||||
#define V_udbinfo VNET(udbinfo) | #define V_udbinfo VNET(udbinfo) | ||||
#define V_ulitecbinfo VNET(ulitecbinfo) | #define V_ulitecbinfo VNET(ulitecbinfo) | ||||
extern u_long udp_sendspace; | extern u_long udp_sendspace; | ||||
extern u_long udp_recvspace; | extern u_long udp_recvspace; | ||||
VNET_DECLARE(int, udp_cksum); | VNET_DECLARE(int, udp_cksum); | ||||
Show All 31 Lines |