usr.bin/netstat/if.c
477
SLIST_ENTRY(iftot) chain;
usr.bin/netstat/if.c
505
struct iftot *iftot, *ip, *ipn, *total, *sum, *interesting;
usr.bin/netstat/if.c
515
if ((iftot = malloc(sizeof(struct iftot))) == NULL) {
usr.bin/netstat/if.c
519
memset(iftot, 0, sizeof(struct iftot));
usr.bin/netstat/if.c
523
for (off = firstifnet, ip = iftot; off;) {
usr.bin/netstat/if.c
534
if ((ipn = malloc(sizeof(struct iftot))) == NULL) {
usr.bin/netstat/if.c
538
memset(ipn, 0, sizeof(struct iftot));
usr.bin/netstat/if.c
543
if ((total = malloc(sizeof(struct iftot))) == NULL) {
usr.bin/netstat/if.c
547
memset(total, 0, sizeof(struct iftot));
usr.bin/netstat/if.c
548
if ((sum = malloc(sizeof(struct iftot))) == NULL) {
usr.bin/netstat/if.c
552
memset(sum, 0, sizeof(struct iftot));
usr.bin/netstat/if.c
637
for (off = firstifnet, ip = iftot;