ip_var.h (2112) | ip_var.h (2169) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 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 * @(#)ip_var.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1986, 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 * @(#)ip_var.h 8.1 (Berkeley) 6/10/93 |
34 * $Id: ip_var.h,v 1.2 1994/08/02 07:48:47 davidg Exp $ | 34 * $Id: ip_var.h,v 1.3 1994/08/18 22:35:31 wollman Exp $ |
35 */ 36 | 35 */ 36 |
37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 |
|
37/* 38 * Overlay for ip header used by other protocols (tcp, udp). 39 */ 40struct ipovly { 41 caddr_t ih_next, ih_prev; /* for protocol sequence q's */ 42 u_char ih_x1; /* (unused) */ 43 u_char ih_pr; /* protocol */ 44 short ih_len; /* protocol length */ --- 136 unchanged lines hidden (view full) --- 181void ipintr __P((void)); 182int rip_ctloutput __P((int, struct socket *, int, int, struct mbuf **)); 183void rip_init __P((void)); 184void rip_input __P((struct mbuf *)); 185int rip_output __P((struct mbuf *, struct socket *, u_long)); 186int rip_usrreq __P((struct socket *, 187 int, struct mbuf *, struct mbuf *, struct mbuf *)); 188#endif | 40/* 41 * Overlay for ip header used by other protocols (tcp, udp). 42 */ 43struct ipovly { 44 caddr_t ih_next, ih_prev; /* for protocol sequence q's */ 45 u_char ih_x1; /* (unused) */ 46 u_char ih_pr; /* protocol */ 47 short ih_len; /* protocol length */ --- 136 unchanged lines hidden (view full) --- 184void ipintr __P((void)); 185int rip_ctloutput __P((int, struct socket *, int, int, struct mbuf **)); 186void rip_init __P((void)); 187void rip_input __P((struct mbuf *)); 188int rip_output __P((struct mbuf *, struct socket *, u_long)); 189int rip_usrreq __P((struct socket *, 190 int, struct mbuf *, struct mbuf *, struct mbuf *)); 191#endif |
192 193#endif |
|