X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/50a72922c564280a420342cc77e91b16227078bd..5ef0bcb5edd748de9d9af13c40da0395dfdd94e8:/netdissect.h diff --git a/netdissect.h b/netdissect.h index 546d38b0..b774ae63 100644 --- a/netdissect.h +++ b/netdissect.h @@ -288,12 +288,8 @@ extern void nd_pop_all_packet_info(netdissect_options *); #define PT_SOMEIP 19 /* Autosar SOME/IP Protocol */ #define PT_DOMAIN 20 /* Domain Name System (DNS) */ -#ifndef min -#define min(a,b) ((a)>(b)?(b):(a)) -#endif -#ifndef max -#define max(a,b) ((b)>(a)?(b):(a)) -#endif +#define ND_MIN(a,b) ((a)>(b)?(b):(a)) +#define ND_MAX(a,b) ((b)>(a)?(b):(a)) /* For source or destination ports tests (UDP, TCP, ...) */ #define IS_SRC_OR_DST_PORT(p) (sport == (p) || dport == (p))