Home | History | Annotate | Download | only in netstat

Lines Matching defs:ifnet

93     struct if_data *, struct ifnet *, struct if_data_ext *);
129 * NOTE: ifnetaddr is the location of the kernel global "ifnet",
342 struct ifnet ifnet;
351 printf("ifnet: symbol not defined\n");
356 * Find the pointer to the first ifnet structure. Replace
375 if (kread(ifnetaddr, (char *)&ifnet, sizeof ifnet))
377 memmove(name, ifnet.if_xname, IFNAMSIZ);
379 ifnetaddr = (u_long)ifnet.if_list.tqe_next;
389 if ((ifnet.if_flags & IFF_UP) == 0)
392 ifaddraddr = (u_long)ifnet.if_addrlist.tqh_first;
399 (unsigned long long)ifnet.if_mtu);
416 print_addr(ifnet.if_index, sa, (void *)&ifaddr,
417 &ifd, &ifnet, NULL);
515 struct if_data *ifd, struct ifnet *ifnet, struct if_data_ext *dext)
558 if (ifnet) {
609 if (ifnet) {
687 printf(" %6" PRIu64, ifnet ?
688 ifnet->if_snd.ifq_drops : dext->ifi_oqdrops);
690 printf(" %4d", ifnet ? ifnet->if_timer : 0);
842 struct ifnet ifnet;
854 * Find the pointer to the first ifnet structure. Replace
870 if (kread(off, (char *)&ifnet, sizeof ifnet))
873 snprintf(ip->ift_name, IFNAMSIZ, "%s", ifnet.if_xname);
874 if (interface && strcmp(ifnet.if_xname, interface) == 0)
879 off = (u_long)ifnet.if_list.tqe_next;
965 if (kread(off, (char *)&ifnet, sizeof ifnet)) {
1008 ifnet.if_snd.ifq_drops - ip->ift_oq);
1017 ip->ift_oq = ifnet.if_snd.ifq_drops;
1026 off = (u_long)ifnet.if_list.tqe_next;