Nmap Development mailing list archives
[PATCH] Remove some old/duplicate stuff from tcpip.h
From: Kris Katterjohn <katterjohn () gmail com>
Date: Sun, 10 Dec 2006 20:02:25 -0600
The attached patch just removes a duplicate #define __FAVOR_BSD and some old, now unused, prototypes from tcpip.h It's a diff against 4.20 Thanks, Kris Katterjohn
--- x/tcpip.h 2006-11-20 01:56:52.000000000 -0600 +++ y/tcpip.h 2006-12-10 19:57:46.000000000 -0600 @@ -183,9 +183,6 @@ void *realloc(); #include <netinet/ip.h> #define NETINET_IP_H #endif -#ifndef __FAVOR_BSD -#define __FAVOR_BSD -#endif #ifndef NETINET_TCP_H /* why the HELL does OpenBSD not do this? */ #include <netinet/tcp.h> /*#include <netinet/ip_tcp.h>*/ #define NETINET_TCP_H @@ -770,17 +767,9 @@ int recvtime(int sd, char *buf, int len, /* Sets a pcap filter function -- makes SOCK_RAW reads easier */ #ifndef WINIP_H -typedef int (*PFILTERFN)(const char *packet, unsigned int len); /* 1 to keep */ void set_pcap_filter(const char *device, pcap_t *pd, char *bpf, ...); #endif -/* Just accept everything ... TODO: Need a better approach than this flt_ - stuff */ -int flt_all(const char *packet, unsigned int len); -int flt_icmptcp(const char *packet, unsigned int len); -int flt_icmptcp_2port(const char *packet, unsigned int len); -int flt_icmptcp_5port(const char *packet, unsigned int len); - #endif /*TCPIP_H*/
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Remove some old/duplicate stuff from tcpip.h Kris Katterjohn (Dec 10)
- Re: [PATCH] Remove some old/duplicate stuff from tcpip.h Fyodor (Dec 11)