/external/dhcpcd/ |
if-pref.c | 79 struct interface *sorted, *ifp, *ifn, *ift; local 86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) {
|
if-linux.c | 235 char ifn[IF_NAMESIZE + 1]; local 271 if (if_indextoname(idx, ifn)) 272 rt.iface = find_interface(ifn); 296 char ifn[IF_NAMESIZE + 1]; local 310 if (if_indextoname(ifa->ifa_index, ifn) == NULL) 312 iface = find_interface(ifn); 335 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest); 345 char ifn[IF_NAMESIZE + 1]; local 366 *ifn = '\0'; 376 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)) [all...] |
net.c | 339 char ifn[IF_NAMESIZE]; local 382 strlcpy(ifn, argv[i], sizeof(ifn)); 383 p = strchr(ifn, ':'); 386 if (strcmp(ifn, ifa->ifa_name) == 0)
|
dhcpcd.c | 1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local [all...] |
/external/libpcap/ |
fad-glifc.c | 88 struct lifnum ifn; local 124 ifn.lifn_family = AF_UNSPEC; 125 ifn.lifn_flags = 0; 126 ifn.lifn_count = 0; 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 138 buf_size = ifn.lifn_count * sizeof (struct lifreq);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_bsd_addr.c | 71 MALLOC_DEFINE(SCTP_M_IFN, "sctp_ifn", "sctp ifn struct"); 253 sctp_is_desired_interface_type(struct ifnet *ifn) 259 switch(ifnet_type(ifn)) { 261 switch (ifn->if_type) { 303 sctp_is_vmware_interface(struct ifnet *ifn) 305 return (strncmp(ifnet_name(ifn), "vmnet", 5) == 0); 499 * IFN we access and also make sure we lock 506 struct ifnet *ifn; local 517 ifn = ifnetlist[i]; 518 if (SCTP_BASE_SYSCTL(sctp_ignore_vmware_interfaces) && sctp_is_vmware_interface(ifn)) { 582 struct ifnet *ifn; local 760 struct ifnet *ifn; local [all...] |
sctp_pcb.c | 173 * to a VRF we lookup the ifn/ifn_index, if the ifn does 174 * not exist we create it and add it to the list of IFN's 179 * vrf-> ifn-> ifn -> ifn 193 * that any locking on system level ifn/ifa is done at the 263 sctp_find_ifn(void *ifn, uint32_t ifn_index) 276 if (sctp_ifnp->ifn_p && ifn && (sctp_ifnp->ifn_p == ifn)) { 6863 struct sctp_ifn *ifn, *nifn; local [all...] |
sctp_output.c | 2517 void *ifn; local 2654 void *ifn; local 3046 void *ifn; local [all...] |
/system/netd/server/ |
BandwidthController.cpp | 507 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { 518 costString += ifn; 547 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 550 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); 553 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); 556 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); 561 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { 570 costString += ifn; 581 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 583 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString) 597 char ifn[MAX_IFACENAME_LEN]; local 666 char ifn[MAX_IFACENAME_LEN]; local 706 char ifn[MAX_IFACENAME_LEN]; local 803 char ifn[MAX_IFACENAME_LEN]; local [all...] |
/external/blktrace/ |
blktrace.c | 240 * ifn & ifd represent input information 265 char ifn[MAXPATHLEN + 64]; member in struct:io_info 1432 static inline void read_err(int cpu, char *ifn) 1436 cpu, ifn, errno, strerror(errno)); [all...] |