udp_var.h (192649) | udp_var.h (193731) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * 30 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93 |
31 * $FreeBSD: head/sys/netinet/udp_var.h 192649 2009-05-23 16:51:13Z bz $ | 31 * $FreeBSD: head/sys/netinet/udp_var.h 193731 2009-06-08 17:15:40Z zec $ |
32 */ 33 34#ifndef _NETINET_UDP_VAR_H_ 35#define _NETINET_UDP_VAR_H_ 36 37/* 38 * UDP kernel structures and variables. 39 */ --- 83 unchanged lines hidden (view full) --- 123extern u_long udp_recvspace; 124extern int udp_log_in_vain; 125 126int udp_newudpcb(struct inpcb *); 127void udp_discardcb(struct udpcb *); 128 129void udp_ctlinput(int, struct sockaddr *, void *); 130void udp_init(void); | 32 */ 33 34#ifndef _NETINET_UDP_VAR_H_ 35#define _NETINET_UDP_VAR_H_ 36 37/* 38 * UDP kernel structures and variables. 39 */ --- 83 unchanged lines hidden (view full) --- 123extern u_long udp_recvspace; 124extern int udp_log_in_vain; 125 126int udp_newudpcb(struct inpcb *); 127void udp_discardcb(struct udpcb *); 128 129void udp_ctlinput(int, struct sockaddr *, void *); 130void udp_init(void); |
131#ifdef VIMAGE 132void udp_destroy(void); 133#endif |
|
131void udp_input(struct mbuf *, int); 132struct inpcb *udp_notify(struct inpcb *inp, int errno); 133int udp_shutdown(struct socket *so); 134 135int udp_set_kernel_tunneling(struct socket *so, udp_tun_func_t f); 136#endif 137 138#endif | 134void udp_input(struct mbuf *, int); 135struct inpcb *udp_notify(struct inpcb *inp, int errno); 136int udp_shutdown(struct socket *so); 137 138int udp_set_kernel_tunneling(struct socket *so, udp_tun_func_t f); 139#endif 140 141#endif |