]> The Tcpdump Group git mirrors - tcpdump/commitdiff
struct netdissect_options: Remove unused members 'ndo_infodelay' and 'ndo_info'
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 21 Jun 2015 07:32:05 +0000 (09:32 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 21 Jun 2015 07:32:05 +0000 (09:32 +0200)
Remark: ^T is a tcpdump function, not a packet-dissection mechanism.

netdissect.h

index 6807443c010a402bc2cc8a81f7fe0e2063862701..460e42c9533fc8c703af22d43b41f09a32aa9eb1 100644 (file)
@@ -136,16 +136,10 @@ struct netdissect_options {
   const u_char *ndo_packetp;
   const u_char *ndo_snapend;
 
-  /* bookkeeping for ^T output */
-  int ndo_infodelay;
-
   /* pointer to void function to output stuff */
   void (*ndo_default_print)(netdissect_options *,
                      register const u_char *bp, register u_int length);
 
-  /* pointer to function to print ^T output */
-  void (*ndo_info)(netdissect_options *, int verbose);
-
   /* pointer to function to do regular output */
   int  (*ndo_printf)(netdissect_options *,
                     const char *fmt, ...)