Lines Matching defs:netdissect_options
89 typedef struct netdissect_options netdissect_options; typedef
91 struct netdissect_options { struct
92 int ndo_aflag; /* translate network and broadcast addresses */
93 int ndo_bflag; /* print 4 byte ASes in ASDOT notation */
94 int ndo_eflag; /* print ethernet header */
95 int ndo_fflag; /* don't translate "foreign" IP address */
96 int ndo_Kflag; /* don't check TCP checksums */
97 int ndo_nflag; /* leave addresses as numbers */
98 int ndo_Nflag; /* remove domains from printed host names */
99 int ndo_qflag; /* quick (shorter) output */
100 int ndo_Rflag; /* print sequence # field in AH/ESP*/
101 int ndo_sflag; /* use the libsmi to translate OIDs */
102 int ndo_Sflag; /* print raw TCP sequence numbers */
103 int ndo_tflag; /* print packet arrival time */
104 int ndo_Uflag; /* "unbuffered" output of dump files */
105 int ndo_uflag; /* Print undecoded NFS handles */
106 int ndo_vflag; /* verbose */
107 int ndo_xflag; /* print packet in hex */
108 int ndo_Xflag; /* print packet in hex/ascii */
109 int ndo_Aflag; /* print packet only in ascii observing TAB,
112 int ndo_Bflag; /* buffer size */
113 int ndo_Iflag; /* rfmon (monitor) mode */
114 int ndo_Oflag; /* run filter code optimizer */
115 int ndo_dlt; /* if != -1, ask libpcap for the DLT it names*/
116 int ndo_jflag; /* packet time stamp source */
117 int ndo_pflag; /* don't go promiscuous */
118 int ndo_immediate; /* use immediate mode */
120 int ndo_Cflag; /* rotate dump files after this many bytes */
121 int ndo_Cflag_count; /* Keep track of which file number we're writing */
122 int ndo_Gflag; /* rotate dump files after this many seconds */
123 int ndo_Gflag_count; /* number of files created with Gflag rotation */
124 time_t ndo_Gflag_time; /* The last time_t the dump file was rotated. */
125 int ndo_Wflag; /* recycle output files after this number of files */
126 int ndo_WflagChars;
127 int ndo_Hflag; /* dissect 802.11s draft mesh standard */
128 int ndo_packet_number; /* print a packet number in the beginning of line */
129 int ndo_suppress_default_print; /* don't use default_print() for unknown packet types */
130 int ndo_tstamp_precision; /* requested time stamp precision */
131 const char *ndo_dltname;
133 char *ndo_espsecret;
134 struct sa_list *ndo_sa_list_head; /* used by print-esp.c */
158 void (*ndo_default_print)(netdissect_options *, argument
162 void (*ndo_info)(netdissect_options *, int verbose); argument
165 int (*ndo_printf)(netdissect_options *, argument
172 void (*ndo_error)(netdissect_options *, argument
182 void (*ndo_warning)(netdissect_options *, argument