ip_var.h (118622) | ip_var.h (119178) |
---|---|
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 118622 2003-08-07 18:16:59Z hsu $ | 34 * $FreeBSD: head/sys/netinet/ip_var.h 119178 2003-08-20 14:46:40Z bms $ |
35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40#include <sys/queue.h> 41 42#ifdef _KERNEL --- 91 unchanged lines hidden (view full) --- 134 u_long ips_badaddr; /* invalid address on header */ 135}; 136 137#ifdef _KERNEL 138 139/* flags passed to ip_output as last parameter */ 140#define IP_FORWARDING 0x1 /* most of ip header exists */ 141#define IP_RAWOUTPUT 0x2 /* raw ip header exists */ | 35 */ 36 37#ifndef _NETINET_IP_VAR_H_ 38#define _NETINET_IP_VAR_H_ 39 40#include <sys/queue.h> 41 42#ifdef _KERNEL --- 91 unchanged lines hidden (view full) --- 134 u_long ips_badaddr; /* invalid address on header */ 135}; 136 137#ifdef _KERNEL 138 139/* flags passed to ip_output as last parameter */ 140#define IP_FORWARDING 0x1 /* most of ip header exists */ 141#define IP_RAWOUTPUT 0x2 /* raw ip header exists */ |
142#define IP_SENDONES 0x4 /* send all-ones broadcast */ |
|
142#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */ 143#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */ 144 145struct ip; 146struct inpcb; 147struct route; 148struct sockopt; 149 --- 64 unchanged lines hidden --- | 143#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */ 144#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */ 145 146struct ip; 147struct inpcb; 148struct route; 149struct sockopt; 150 --- 64 unchanged lines hidden --- |