pkgsrc/net/hping/patches/patch-ai
obache dca4ca3df8 * detection of endian in bytesex.h is not enough, use result of byteorder.h.
* replace hard coded user and mode for hping-suid option with SPECIAL_PERMS.
* replace remaining of hard coded "man" with ${PKGMANDIR}.
* add DESTDIR support.
* merge patch-a{e,g}, both for same file.
* patch to replace __sun__ with __sun for portability, pkglint(1) said.
* also regen other patches with mkpatches(1).
2009-02-11 08:06:17 +00:00

30 lines
620 B
Text

$NetBSD: patch-ai,v 1.2 2009/02/11 08:06:17 obache Exp $
--- globals.h.orig 2003-08-07 23:55:55.000000000 +0000
+++ globals.h
@@ -32,7 +32,8 @@ extern unsigned int
tcp_seqnum,
set_ack,
ip_header_length,
- tcp_ack;
+ tcp_ack,
+ tcp_mss;
extern unsigned short int
data_size;
@@ -44,6 +45,7 @@ extern int opt_debug,
recv_pkt,
out_of_sequence_pkt,
sending_wait,
+ opt_flood,
opt_rawipmode,
opt_icmpmode,
opt_udpmode,
@@ -77,6 +79,7 @@ extern int opt_debug,
opt_tcpexitcode,
opt_badcksum,
opt_tr_keep_ttl,
+ opt_tcp_mss,
opt_tcp_timestamp,
opt_tr_stop,
opt_tr_no_rtt,