/prebuilts/go/darwin-x86/src/syscall/ |
ztypes_linux_amd64.go | 180 Ifindex int32 224 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
ztypes_linux_arm.go | 182 Ifindex int32 226 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
ztypes_linux_ppc64.go | 182 Ifindex int32 226 Ifindex int32 254 Ifindex int32 261 Ifindex uint32 488 Ifindex int32
|
ztypes_linux_ppc64le.go | 182 Ifindex int32 226 Ifindex int32 254 Ifindex int32 261 Ifindex uint32 488 Ifindex int32
|
/prebuilts/go/linux-x86/src/syscall/ |
ztypes_linux_386.go | 178 Ifindex int32 222 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
ztypes_linux_amd64.go | 180 Ifindex int32 224 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
ztypes_linux_arm.go | 182 Ifindex int32 226 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
ztypes_linux_ppc64.go | 182 Ifindex int32 226 Ifindex int32 254 Ifindex int32 261 Ifindex uint32 488 Ifindex int32
|
ztypes_linux_ppc64le.go | 182 Ifindex int32 226 Ifindex int32 254 Ifindex int32 261 Ifindex uint32 488 Ifindex int32
|
/external/libnl/lib/route/ |
neigh.c | 68 * struct rtnl_neigh *neigh = rtnl_neigh_get(cache, ifindex, dst_addr); 81 * rtnl_neigh_set_ifindex(neigh, ifindex); 105 * rtnl_neigh_set_ifindex(neigh, ifindex); 127 * rtnl_neigh_set_ifindex(neigh, ifindex); 208 diff |= NEIGH_DIFF(IFINDEX, a->n_ifindex != b->n_ifindex); 235 __ADD(NEIGH_ATTR_IFINDEX, ifindex) 471 * @arg ifindex interface index the neighbour is on 475 struct rtnl_neigh * rtnl_neigh_get(struct nl_cache *cache, int ifindex, 481 if (neigh->n_ifindex == ifindex && 751 void rtnl_neigh_set_ifindex(struct rtnl_neigh *neigh, int ifindex) [all...] |
neightbl.c | 86 if (_C(IFINDEX, ntp_ifindex) || 199 COPY_ENTRY(IFINDEX, ifindex); 396 * @arg ifindex optional interface index 399 * optionally the specified ifindex to retrieve device specific 406 const char *name, int ifindex) 415 ((!ifindex && !nt->nt_parms.ntp_ifindex) || 416 (ifindex && ifindex == nt->nt_parms.ntp_ifindex))) { 625 void rtnl_neightbl_set_dev(struct rtnl_neightbl *ntbl, int ifindex) [all...] |
link.c | 89 * int ifindex = rtnl_link_name2i(cache, "lo"); 90 * struct rtnl_link *link = rtnl_link_get(cache, ifindex); 691 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index); 728 __ADD(LINK_ATTR_IFINDEX, ifindex) 784 * @arg ifindex link interface index 791 struct rtnl_link *rtnl_link_get(struct nl_cache *cache, int ifindex) 799 if (link->l_index == ifindex) { 972 * @arg ifindex link interface index 981 char * rtnl_link_i2name(struct nl_cache *cache, int ifindex, char *dst, 984 struct rtnl_link *link = rtnl_link_get(cache, ifindex); 1004 int ifindex = 0; local [all...] |
cls.c | 282 * @arg ifindex interface index of the link the classes are 294 int rtnl_cls_alloc_cache(struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **result) 302 cache->c_iarg1 = ifindex;
|
/external/iproute2/ip/ |
ipneigh.c | 334 void ipneigh_reset_filter(int ifindex) 338 filter.index = ifindex; 377 int ifindex; local 379 ifindex = ll_name_to_index(*argv); 380 if (!ifindex) 382 addattr32(&req.n, sizeof(req), NDA_MASTER, ifindex); 383 filter.master = ifindex;
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211.c | 196 int ifindex, int disabled); 248 int ifindex) 253 if (bss->ifindex == ifindex) 457 return nla_put_u32(msg, NL80211_ATTR_IFINDEX, bss->ifindex); 480 nl80211_ifindex_msg(struct wpa_driver_nl80211_data *drv, int ifindex, 490 nla_put_u32(msg, NL80211_ATTR_IFINDEX, ifindex)) { 502 return nl80211_ifindex_msg(drv, drv->ifindex, flags, cmd); 508 return nl80211_ifindex_msg(bss->drv, bss->ifindex, flags, cmd); 771 return drv->ifindex; 2641 int ifindex; local 5955 int ifindex, br_ifindex = 0; local 6311 int ifindex = if_nametoindex(ifname); local [all...] |
/external/iproute2/misc/ |
arpd.c | 104 static int handle_if(int ifindex) 112 if (ifvec[i] == ifindex) 182 static int send_probe(int ifindex, __u32 addr) 193 ifr.ifr_ifindex = ifindex; 226 sll.sll_ifindex = ifindex; 242 static int queue_active_probe(int ifindex, __u32 addr) 257 if (buckets >= broadcast_rate && !send_probe(ifindex, addr)) { 266 static int respond_to_kernel(int ifindex, __u32 addr, char *lla, int llalen) 282 req.ndm.ndm_ifindex = ifindex; 741 printf("%-8s %-15s %s\n", "#Ifindex", "IP", "MAC") [all...] |
ifstat.c | 61 int ifindex; member in struct:ifstat_ent 136 n->ifindex = ifi->ifi_index; 203 if (sscanf(buf, "%d", &n->ifindex) != 1) 263 if (h1->ifindex == n->ifindex) { 280 fprintf(fp, "%d %s ", n->ifindex, n->name); 491 if (h1->ifindex == n->ifindex) { 534 if (h1->ifindex == n->ifindex) { [all...] |
/external/avahi/avahi-autoipd/ |
avahi-autoipd.action.linux | 36 METRIC=$((1000 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`))
|
/external/avahi/avahi-compat-howl/ |
compat.c | 888 AvahiIfIndex ifindex; local 905 ifindex = interface_index == 0 ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface_index; 909 if (!(data->object = avahi_domain_browser_new(self->client, ifindex, AVAHI_PROTO_INET, NULL, AVAHI_DOMAIN_BROWSER_BROWSE, 0, domain_browser_callback, data))) { 995 AvahiIfIndex ifindex; local 1014 ifindex = interface_index == 0 ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface_index; 1018 if (!(data->object = avahi_service_resolver_new(self->client, ifindex, AVAHI_PROTO_INET, name, type, domain, AVAHI_PROTO_INET, 0, service_resolver_callback, data))) { 1088 AvahiIfIndex ifindex; local 1106 ifindex = interface_index == 0 ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface_index; 1110 if (!(data->object = avahi_service_browser_new(self->client, ifindex, AVAHI_PROTO_INET, type, domain, 0, service_browser_callback, data))) {
|
/external/toybox/toys/pending/ |
arping.c | 51 // Gets information of INTERFACE and updates IFINDEX, MAC and IP. 52 static void get_interface(char *interface, int *ifindex, uint32_t *oip, 71 if (ifindex) { 73 *ifindex = req.ifr_ifindex;
|
/prebuilts/go/darwin-x86/src/internal/syscall/windows/ |
syscall_windows.go | 65 IfIndex uint32
|
/prebuilts/go/linux-x86/src/internal/syscall/windows/ |
syscall_windows.go | 65 IfIndex uint32
|
/system/extras/tests/net_test/ |
iproute.py | 157 "family ifindex state flags type") 427 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): 430 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack() 436 def AddAddress(self, address, prefixlen, ifindex): 439 IFA_F_PERMANENT, RT_SCOPE_UNIVERSE, ifindex) 441 def DelAddress(self, address, prefixlen, ifindex): 443 RTM_DELADDR, address, prefixlen, 0, 0, ifindex) 445 def GetAddress(self, address, ifindex=0): 452 self._Address(6, RTM_GETADDR, address, 0, 0, RT_SCOPE_UNIVERSE, ifindex)
|
/bionic/libc/bionic/ |
net_if.cpp | 47 char* if_indextoname(unsigned ifindex, char* ifname) { 53 ifr.ifr_ifindex = ifindex;
|
/bionic/libc/kernel/uapi/linux/ |
if_bridge.h | 180 __u32 ifindex; member in struct:br_port_msg 184 __u32 ifindex; member in struct:br_mdb_entry
|