Deleted Added
full compact
ipsend.h (344833) ipsend.h (369186)
1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipsend.h 344833 2019-03-06 02:37:25Z cy $ */
1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipsend.h 369186 2021-01-31 04:32:46Z cy $ */
2
3/*
4 * ipsend.h (C) 1997-1998 Darren Reed
5 *
6 * This was written to test what size TCP fragments would get through
7 * various TCP/IP packet filters, as used in IP firewalls. In certain
8 * conditions, enough of the TCP header is missing for unpredictable
9 * results unless the filter is aware that this can happen.
10 *
11 * The author provides this program as-is, with no gaurantee for its
12 * suitability for any specific purpose. The author takes no responsibility
13 * for the misuse/abuse of this program and provides it for the sole purpose
14 * of testing packet filter policies. This file maybe distributed freely
15 * providing it is not modified and that this notice remains in tact.
16 *
17 */
18#ifndef __P
2
3/*
4 * ipsend.h (C) 1997-1998 Darren Reed
5 *
6 * This was written to test what size TCP fragments would get through
7 * various TCP/IP packet filters, as used in IP firewalls. In certain
8 * conditions, enough of the TCP header is missing for unpredictable
9 * results unless the filter is aware that this can happen.
10 *
11 * The author provides this program as-is, with no gaurantee for its
12 * suitability for any specific purpose. The author takes no responsibility
13 * for the misuse/abuse of this program and provides it for the sole purpose
14 * of testing packet filter policies. This file maybe distributed freely
15 * providing it is not modified and that this notice remains in tact.
16 *
17 */
18#ifndef __P
19# ifdef __STDC__
20# define __P(x) x
19# define __P(x) x
21# else
22# define __P(x) ()
23# endif
24#endif
25
26#include <net/if.h>
27
28#include "ipf.h"
29/* XXX: The following is needed by tcpip.h */
30#include <netinet/ip_var.h>
31#include "netinet/tcpip.h"

--- 35 unchanged lines hidden ---
20#endif
21
22#include <net/if.h>
23
24#include "ipf.h"
25/* XXX: The following is needed by tcpip.h */
26#include <netinet/ip_var.h>
27#include "netinet/tcpip.h"

--- 35 unchanged lines hidden ---