X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/abc8c2d61c65757011d9d32abb01cd1e51232f3a..b0b726f497f8cac1c29c80f7f495b3b33b6054f0:/print-rx.c diff --git a/print-rx.c b/print-rx.c index 7dfa3ddb..a9eccb91 100644 --- a/print-rx.c +++ b/print-rx.c @@ -40,7 +40,6 @@ #endif #include -#include #include #include "netdissect-stdinc.h" @@ -766,7 +765,6 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh, } #define STROUT(MAX) { uint32_t _i; \ - ND_TCHECK_LEN(bp, sizeof(uint32_t)); \ _i = GET_BE_U_4(bp); \ if (_i > (MAX)) \ goto trunc; \ @@ -791,7 +789,6 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh, } #define UINT64OUT() { uint64_t _i; \ - ND_TCHECK_LEN(bp, sizeof(uint64_t)); \ _i = GET_BE_U_8(bp); \ bp += sizeof(uint64_t); \ ND_PRINT(" %" PRIu64, _i); \ @@ -1143,6 +1140,7 @@ trunc: * representing a logical OR of all the ACL permission bits */ +#define XSTRINGIFY(x) #x #define NUMSTRINGIFY(x) XSTRINGIFY(x) static void