in_pcb.h (1817) | in_pcb.h (2169) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 |
34 * $Id$ | 34 * $Id: in_pcb.h,v 1.3 1994/08/02 07:48:20 davidg Exp $ |
35 */ 36 | 35 */ 36 |
37#ifndef _NETINET_IN_PCB_H_ 38#define _NETINET_IN_PCB_H_ 39 |
|
37/* 38 * Common structure pcb for internet protocol implementation. 39 * Here are stored pointers to local and foreign host table 40 * entries, local and foreign socket numbers, and pointers 41 * up (to a socket structure) and down (to a protocol-specific) 42 * control block. 43 */ 44struct inpcb { --- 37 unchanged lines hidden (view full) --- 82 in_pcblookup __P((struct inpcb *, 83 struct in_addr, u_int, struct in_addr, u_int, int)); 84void in_pcbnotify __P((struct inpcb *, struct sockaddr *, 85 u_int, struct in_addr, u_int, int, void (*)(struct inpcb *, int))); 86void in_rtchange __P((struct inpcb *, int)); 87void in_setpeeraddr __P((struct inpcb *, struct mbuf *)); 88void in_setsockaddr __P((struct inpcb *, struct mbuf *)); 89#endif | 40/* 41 * Common structure pcb for internet protocol implementation. 42 * Here are stored pointers to local and foreign host table 43 * entries, local and foreign socket numbers, and pointers 44 * up (to a socket structure) and down (to a protocol-specific) 45 * control block. 46 */ 47struct inpcb { --- 37 unchanged lines hidden (view full) --- 85 in_pcblookup __P((struct inpcb *, 86 struct in_addr, u_int, struct in_addr, u_int, int)); 87void in_pcbnotify __P((struct inpcb *, struct sockaddr *, 88 u_int, struct in_addr, u_int, int, void (*)(struct inpcb *, int))); 89void in_rtchange __P((struct inpcb *, int)); 90void in_setpeeraddr __P((struct inpcb *, struct mbuf *)); 91void in_setsockaddr __P((struct inpcb *, struct mbuf *)); 92#endif |
93 94#endif |
|