X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/f5b75290d9fcbc7e47586ca459de57ffcd8a2b49..refs/pull/433/head:/netdissect.h diff --git a/netdissect.h b/netdissect.h index bef3c0e5..515d839d 100644 --- a/netdissect.h +++ b/netdissect.h @@ -115,6 +115,7 @@ struct netdissect_options { int ndo_dlt; /* if != -1, ask libpcap for the DLT it names*/ int ndo_jflag; /* packet time stamp source */ int ndo_pflag; /* don't go promiscuous */ + int ndo_immediate; /* use immediate mode */ int ndo_Cflag; /* rotate dump files after this many bytes */ int ndo_Cflag_count; /* Keep track of which file number we're writing */ @@ -345,6 +346,8 @@ extern const char *dnnum_string(netdissect_options *, u_short); #include +extern char *q922_string(netdissect_options *ndo, const u_char *, u_int); + typedef u_int (*if_ndo_printer)(struct netdissect_options *ndo, const struct pcap_pkthdr *, const u_char *); typedef u_int (*if_printer)(const struct pcap_pkthdr *, const u_char *);