ip_var.h (60765) | ip_var.h (62587) |
---|---|
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.2 (Berkeley) 1/9/95 | 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.2 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/netinet/ip_var.h 60765 2000-05-21 21:26:06Z jlemon $ | 34 * $FreeBSD: head/sys/netinet/ip_var.h 62587 2000-07-04 16:35:15Z itojun $ |
35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40/* 41 * Overlay for ip header used by other protocols (tcp, udp). 42 */ --- 83 unchanged lines hidden (view full) --- 126 127#ifdef _KERNEL 128 129/* flags passed to ip_output as last parameter */ 130#define IP_FORWARDING 0x1 /* most of ip header exists */ 131#define IP_RAWOUTPUT 0x2 /* raw ip header exists */ 132#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */ 133#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */ | 35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40/* 41 * Overlay for ip header used by other protocols (tcp, udp). 42 */ --- 83 unchanged lines hidden (view full) --- 126 127#ifdef _KERNEL 128 129/* flags passed to ip_output as last parameter */ 130#define IP_FORWARDING 0x1 /* most of ip header exists */ 131#define IP_RAWOUTPUT 0x2 /* raw ip header exists */ 132#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */ 133#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */ |
134#define IP_SOCKINMRCVIF 0x100 /* IPSEC hack; 135 * socket pointer in sending 136 * packet's m_pkthdr.rcvif */ | |
137 138struct ip; 139struct inpcb; 140struct route; 141struct sockopt; 142 143extern struct ipstat ipstat; 144extern u_short ip_id; /* ip packet ctr, for ids */ --- 52 unchanged lines hidden --- | 134 135struct ip; 136struct inpcb; 137struct route; 138struct sockopt; 139 140extern struct ipstat ipstat; 141extern u_short ip_id; /* ip packet ctr, for ids */ --- 52 unchanged lines hidden --- |