Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/udp_var.h
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | |||||
udp_get_inpcbinfo(int protocol) | udp_get_inpcbinfo(int protocol) | ||||
{ | { | ||||
return (protocol == IPPROTO_UDP) ? &V_udbinfo : &V_ulitecbinfo; | return (protocol == IPPROTO_UDP) ? &V_udbinfo : &V_ulitecbinfo; | ||||
} | } | ||||
int udp_newudpcb(struct inpcb *); | int udp_newudpcb(struct inpcb *); | ||||
void udp_discardcb(struct udpcb *); | void udp_discardcb(struct udpcb *); | ||||
void udp_ctlinput(int, struct sockaddr *, void *); | |||||
void udplite_ctlinput(int, struct sockaddr *, void *); | |||||
int udp_ctloutput(struct socket *, struct sockopt *); | int udp_ctloutput(struct socket *, struct sockopt *); | ||||
int udp_input(struct mbuf **, int *, int); | |||||
void udplite_input(struct mbuf *, int); | void udplite_input(struct mbuf *, int); | ||||
struct inpcb *udp_notify(struct inpcb *inp, int errno); | struct inpcb *udp_notify(struct inpcb *inp, int errno); | ||||
int udp_shutdown(struct socket *so); | int udp_shutdown(struct socket *so); | ||||
int udp_set_kernel_tunneling(struct socket *so, udp_tun_func_t f, | int udp_set_kernel_tunneling(struct socket *so, udp_tun_func_t f, | ||||
udp_tun_icmp_t i, void *ctx); | udp_tun_icmp_t i, void *ctx); | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#endif /* _NETINET_UDP_VAR_H_ */ | #endif /* _NETINET_UDP_VAR_H_ */ |