Deleted Added
full compact
ip_fw.h (125952) ip_fw.h (126239)
1/*
2 * Copyright (c) 2002 Luigi Rizzo, Universita` di Pisa
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
1/*
2 * Copyright (c) 2002 Luigi Rizzo, Universita` di Pisa
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/netinet/ip_fw.h 125952 2004-02-18 00:04:52Z mlaier $
25 * $FreeBSD: head/sys/netinet/ip_fw.h 126239 2004-02-25 19:55:29Z mlaier $
26 */
27
28#ifndef _IPFW2_H
29#define _IPFW2_H
30#define IPFW2 1
31/*
32 * The kernel representation of ipfw rules is made of a list of
33 * 'instructions' (for all practical purposes equivalent to BPF

--- 361 unchanged lines hidden (view full) ---

395 struct ip_fw *rule; /* matching rule */
396 struct ether_header *eh; /* for bridged packets */
397
398 struct route *ro; /* for dummynet */
399 struct sockaddr_in *dst; /* for dummynet */
400 int flags; /* for dummynet */
401
402 struct ipfw_flow_id f_id; /* grabbed from IP header */
26 */
27
28#ifndef _IPFW2_H
29#define _IPFW2_H
30#define IPFW2 1
31/*
32 * The kernel representation of ipfw rules is made of a list of
33 * 'instructions' (for all practical purposes equivalent to BPF

--- 361 unchanged lines hidden (view full) ---

395 struct ip_fw *rule; /* matching rule */
396 struct ether_header *eh; /* for bridged packets */
397
398 struct route *ro; /* for dummynet */
399 struct sockaddr_in *dst; /* for dummynet */
400 int flags; /* for dummynet */
401
402 struct ipfw_flow_id f_id; /* grabbed from IP header */
403 u_int16_t divert_rule; /* divert cookie */
404 u_int32_t retval;
405};
406
407/*
408 * Function definitions.
409 */
410
411/* Firewall hooks */

--- 15 unchanged lines hidden ---
403 u_int32_t retval;
404};
405
406/*
407 * Function definitions.
408 */
409
410/* Firewall hooks */

--- 15 unchanged lines hidden ---