Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/netstat/netstat.h
Show All 35 Lines | |||||
#define satosin(sa) ((struct sockaddr_in *)(sa)) | #define satosin(sa) ((struct sockaddr_in *)(sa)) | ||||
#define satosin6(sa) ((struct sockaddr_in6 *)(sa)) | #define satosin6(sa) ((struct sockaddr_in6 *)(sa)) | ||||
#define sin6tosa(sin6) ((struct sockaddr *)(sin6)) | #define sin6tosa(sin6) ((struct sockaddr *)(sin6)) | ||||
extern int Aflag; /* show addresses of protocol control block */ | extern int Aflag; /* show addresses of protocol control block */ | ||||
extern int aflag; /* show all sockets (including servers) */ | extern int aflag; /* show all sockets (including servers) */ | ||||
extern int bflag; /* show i/f total bytes in/out */ | extern int bflag; /* show i/f total bytes in/out */ | ||||
extern int Cflag; /* show congestion control */ | extern int cflag; /* show congestion control stats */ | ||||
extern int Cflag; /* show congestion control algo and stack */ | |||||
extern int dflag; /* show i/f dropped packets */ | extern int dflag; /* show i/f dropped packets */ | ||||
extern int gflag; /* show group (multicast) routing or stats */ | extern int gflag; /* show group (multicast) routing or stats */ | ||||
extern int hflag; /* show counters in human readable format */ | extern int hflag; /* show counters in human readable format */ | ||||
extern int iflag; /* show interfaces */ | extern int iflag; /* show interfaces */ | ||||
extern int Lflag; /* show size of listen queues */ | extern int Lflag; /* show size of listen queues */ | ||||
extern int mflag; /* show memory stats */ | extern int mflag; /* show memory stats */ | ||||
extern int noutputs; /* how much outputs before we exit */ | extern int noutputs; /* how much outputs before we exit */ | ||||
extern int numeric_addr; /* show addresses numerically */ | extern int numeric_addr; /* show addresses numerically */ | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |