/external/dhcpcd/ |
H A D | if-pref.c | 79 struct interface *sorted, *ifp, *ifn, *ift; local 86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) {
|
H A D | 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_DAT [all...] |
H A D | 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)
|
H A D | dhcpcd.c | 1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1324 for (ifn = ifaces; ifn; ifn = ifn->next) { 1325 if (strcmp(ifn->name, ifp->name) == 0) 1327 ifl = ifn; 1329 if (ifn) { 1331 ifn->flags = ifp->flags; 1332 ifn 1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local [all...] |
/external/libpcap/ |
H A D | 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/ |
H A D | sctp_bsd_addr.c | 71 MALLOC_DEFINE(SCTP_M_IFN, "sctp_ifn", "sctp ifn struct"); 253 sctp_is_desired_interface_type(struct ifnet *ifn) argument 259 switch(ifnet_type(ifn)) { 261 switch (ifn->if_type) { 303 sctp_is_vmware_interface(struct ifnet *ifn) argument 305 return (strncmp(ifnet_name(ifn), "vmnet", 5) == 0); 506 struct ifnet *ifn; local 517 ifn = ifnetlist[i]; 518 if (SCTP_BASE_SYSCTL(sctp_ignore_vmware_interfaces) && sctp_is_vmware_interface(ifn)) { 521 if (sctp_is_desired_interface_type(ifn) 582 struct ifnet *ifn; local 760 struct ifnet *ifn; local [all...] |
H A D | sctp_asconf.c | 951 sctp_asconf_nets_cleanup(struct sctp_tcb *stcb, struct sctp_ifn *ifn) argument 958 * to know whether the newly added address on the ifn would cause a 962 * ifn (and cached source addrs) and let output re-choose them during 973 ((ifn == NULL) || 974 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { 3176 } /* end foreach ifn */
|
H A D | sctp_pcb.c | 173 * to a VRF we lookup the ifn/ifn_index, if the ifn does 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) argument 276 if (sctp_ifnp->ifn_p && ifn && (sctp_ifnp->ifn_p == ifn)) { 468 * Add an ifa to an ifn 558 sctp_add_addr_to_vrf(uint32_t vrf_id, void *ifn, uint32_t ifn_index, uint32_t ifn_type, const char *if_name, void *ifa, struct sockaddr *addr, uint32_t ifa_flags, int dynamic_add) argument 6863 struct sctp_ifn *ifn, *nifn; local [all...] |
H A D | sctp_output.c | 2517 void *ifn; local 2528 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2530 sctp_ifn = sctp_find_ifn(ifn, ifn_index); 2532 * first question, is the ifn we will emit on in our list, if so, we 2654 void *ifn; local 2662 * first question, is the ifn we will emit on in our list, if so, we 2669 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2671 sctp_ifn = sctp_find_ifn( ifn, ifn_index); 2674 * first question, is the ifn we will emit on in our list? If so, 2837 sctp_select_nth_preferred_addr_from_ifn_boundall(struct sctp_ifn *ifn, argument 2971 sctp_count_num_preferred_boundall(struct sctp_ifn *ifn, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int non_asoc_addr_ok, uint8_t dest_is_loop, uint8_t dest_is_priv, sa_family_t fam) argument 3046 void *ifn; local [all...] |
/external/blktrace/ |
H A D | 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) argument 1436 cpu, ifn, errno, strerror(errno)); 1616 snprintf(iop->ifn, sizeof(iop->ifn), "%s/block/%s/trace%d", 1619 iop->ifd = my_open(iop->ifn, O_RDONLY | O_NONBLOCK); 1622 tp->cpu, iop->ifn, errno, strerror(errno)); 1694 read_err(tp->cpu, iop->ifn); 1716 perror(iop->ifn); [all...] |