[BACK]Return to netstat.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / netstat

Diff for /src/usr.bin/netstat/netstat.h between version 1.75 and 1.76

version 1.75, 2020/06/12 06:22:32 version 1.76, 2021/01/26 18:22:45
Line 40 
Line 40 
 /* a bit of magic to print addresses as they should */  /* a bit of magic to print addresses as they should */
 #define FAKE_PTR(p)     (PLEN - ((p) ? 0 : 2)), p, ((p) ? "" : "x0")  #define FAKE_PTR(p)     (PLEN - ((p) ? 0 : 2)), p, ((p) ? "" : "x0")
   
 int     Aflag;          /* show addresses of protocol control block */  extern int      Aflag;          /* show addresses of protocol control block */
 int     aflag;          /* show all sockets (including servers) */  extern int      aflag;          /* show all sockets (including servers) */
 int     Bflag;          /* show TCP send and receive buffer sizes */  extern int      Bflag;          /* show TCP send and receive buffer sizes */
 int     bflag;          /* show bytes instead of packets */  extern int      bflag;          /* show bytes instead of packets */
 int     dflag;          /* show i/f dropped packets */  extern int      dflag;          /* show i/f dropped packets */
 int     Fflag;          /* show routes whose gateways are in specified AF */  extern int      Fflag;          /* show routes whose gateways are in specified AF */
 int     gflag;          /* show group (multicast) routing or stats */  extern int      gflag;          /* show group (multicast) routing or stats */
 int     hflag;          /* print human numbers */  extern int      hflag;          /* print human numbers */
 int     iflag;          /* show interfaces */  extern int      iflag;          /* show interfaces */
 int     lflag;          /* show only listening sockets (only servers), */  extern int      lflag;          /* show only listening sockets (only servers), */
                         /* with -g, show routing table with use and ref */                          /* with -g, show routing table with use and ref */
 int     mflag;          /* show memory stats */  extern int      mflag;          /* show memory stats */
 int     nflag;          /* show addresses numerically */  extern int      nflag;          /* show addresses numerically */
 int     pflag;          /* show given protocol */  extern int      pflag;          /* show given protocol */
 int     Pflag;          /* show given PCB */  extern int      Pflag;          /* show given PCB */
 int     qflag;          /* only display non-zero values for output */  extern int qflag;               /* only display non-zero values for output */
 int     rflag;          /* show routing tables (or routing stats) */  extern int      rflag;          /* show routing tables (or routing stats) */
 int     Rflag;          /* show rdomain and rtable summary */  extern int      Rflag;          /* show rdomain and rtable summary */
 int     sflag;          /* show protocol statistics */  extern int      sflag;          /* show protocol statistics */
 int     tflag;          /* show i/f watchdog timers */  extern int      tflag;          /* show i/f watchdog timers */
 int     vflag;          /* be verbose */  extern int      vflag;          /* be verbose */
 int     Wflag;          /* show net80211 protocol statistics */  extern int      Wflag;          /* show net80211 protocol statistics */
   
 int     interval;       /* repeat interval for i/f stats */  extern int      interval;       /* repeat interval for i/f stats */
   
 char    *interface;     /* desired i/f for stats, or NULL for all i/fs */  extern char     *interface;     /* desired i/f for stats, or NULL for all i/fs */
   
 int     af;             /* address family */  extern int      af;             /* address family */
   
 extern  char *__progname; /* program name, from crt0.o */  extern  char *__progname; /* program name, from crt0.o */
   

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76