Home
last modified time | relevance | path

Searched refs:ifaddraddr (Results 1 – 3 of 3) sorted by relevance

/dports/devel/libgtop/libgtop-2.40.0/sysdeps/bsd/
H A Dnetload.c109 u_long ifaddraddr; in glibtop_get_netload_p() local
139 ifaddraddr = (u_long) ifnet.if_addrhead.tqh_first; in glibtop_get_netload_p()
141 ifaddraddr = (u_long) ifnet.if_addrlist; in glibtop_get_netload_p()
143 ifaddraddr = (u_long) ifnet.if_addrlist.tqh_first; in glibtop_get_netload_p()
204 while (ifaddraddr) { in glibtop_get_netload_p()
205 if ((kvm_read (server->machine->kd, ifaddraddr, &ifaddr, in glibtop_get_netload_p()
210 cp = (CP(ifaddr.ifa.ifa_addr) - CP(ifaddraddr)) + in glibtop_get_netload_p()
237 ifaddraddr = (u_long) ifaddr.ifa.ifa_list.tqe_next; in glibtop_get_netload_p()
239 ifaddraddr = (u_long) ifaddr.ifa.ifa_link.tqe_next; in glibtop_get_netload_p()
/dports/devel/libgtop/libgtop-2.40.0/sysdeps/openbsd/
H A Dnetload.c107 u_long ifaddraddr; in glibtop_get_netload_p() local
122 ifaddraddr = (u_long) ifnet.if_addrlist.tqh_first; in glibtop_get_netload_p()
178 while (ifaddraddr) { in glibtop_get_netload_p()
179 if ((kvm_read (server->machine->kd, ifaddraddr, &ifaddr, in glibtop_get_netload_p()
184 cp = (CP(ifaddr.ifa.ifa_addr) - CP(ifaddraddr)) + in glibtop_get_netload_p()
233 ifaddraddr = (u_long) ifaddr.ifa.ifa_list.tqe_next; in glibtop_get_netload_p()
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/
H A Dinterfaces.c2229 u_long ifaddraddr; in Interface_Get_Ether_By_Index() local
2273 ifaddraddr = (unsigned long) saveifnet.if_addrlist; in Interface_Get_Ether_By_Index()
2274 while (ifaddraddr) { in Interface_Get_Ether_By_Index()
2275 if (!NETSNMP_KLOOKUP(ifaddraddr, (char *) &ifaddr, sizeof ifaddr)) { in Interface_Get_Ether_By_Index()
2291 ifaddraddr = (unsigned long) ifaddr.ifa_next; in Interface_Get_Ether_By_Index()