支持-g参数, 可以按最内层IP,PORT过滤, 支持BPF过滤规则.

This commit is contained in:
lijia
2018-11-14 21:09:41 +08:00
parent a6a34b3ba4
commit ffef9008ed
8 changed files with 2327 additions and 25 deletions

5
udp.h
View File

@@ -32,6 +32,8 @@
*
* @(#)udp.h 8.1 (Berkeley) 6/10/93
*/
#ifndef _tcpdump_udp_h
#define _tcpdump_udp_h 1
/*
* Udp protocol header.
@@ -314,3 +316,6 @@ struct udphdr {
#ifndef LWAPP_CONTROL_PORT
#define LWAPP_CONTROL_PORT 12223 /* RFC 5412 */
#endif
#endif