/external/libpcap/ |
H A D | fad-glifc.c | 84 struct lifnum ifn; local 120 ifn.lifn_family = AF_UNSPEC; 121 ifn.lifn_flags = 0; 122 ifn.lifn_count = 0; 123 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 134 buf_size = ifn.lifn_count * sizeof (struct lifreq);
|
/external/dhcpcd-6.8.2/ |
H A D | arp.c | 125 const struct interface *ifn; local 171 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { 172 if (ar.ar_hln == ifn->hwlen && 173 memcmp(hw_s, ifn->hwaddr, ifn->hwlen) == 0) 176 if (ifn)
|
H A D | if.c | 261 char ifn[IF_NAMESIZE]; local 330 strlcpy(ifn, argv[i], intf_len + 1); 334 p = strchr(ifn, ':'); 338 if (strcmp(ifn, ifa->ifa_name) == 0) 344 strlcpy(ifn, ifa->ifa_name, sizeof(ifn)); 354 p = ifn;
|
H A D | dhcpcd.c | 702 struct interface *ifn; local 705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { 706 if (ifn == ifp) 708 if (ifn->options->options & DHCPCD_PFXDLGONLY) 710 if (memcmp(ifn->options->iaid, iaid, 711 sizeof(ifn->options->iaid)) == 0) 713 for (i = 0; i < ifn->options->ia_len; i++) { 714 if (memcmp(&ifn->options->ia[i].iaid, iaid, 715 sizeof(ifn->options->ia[i].iaid)) == 0) 721 if (ifn 945 struct interface *ifp, *iff, *ifn; local 1126 struct interface *ifn, *ifp; local 1448 char ifn[IF_NAMESIZE]; local [all...] |
H A D | dhcp6.c | 2583 struct interface *ifn; local 2589 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { 2590 if (strcmp(ifn->name, ifp->name) == 0 && 2591 ifn->options->options & DHCPCD_PFXDLGONLY) 2592 return ifn; 3197 struct interface *ifn; local 3199 ifn = dhcp6_findpfxdlgif(ifp); 3200 if (ifn == NULL) { 3203 ifn = TAILQ_FIRST(ifs); 3204 if (ifn) { [all...] |
H A D | if-linux.c | 741 char ifn[IF_NAMESIZE + 1]; local 767 *ifn = '\0'; 779 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)); 789 dhcpcd_handleinterface(ctx, -1, ifn); 798 dhcpcd_handleinterface(ctx, -1, ifn); 803 if (handle_rename(ctx, (unsigned int)ifi->ifi_index, ifn)) 807 if ((ifp = if_find(ctx->ifaces, ifn)) == NULL) { 811 dhcpcd_handleinterface(ctx, 1, ifn); 821 dhcpcd_handlehwaddr(ctx, ifn, RTA_DAT [all...] |
/external/toybox/toys/pending/ |
H A D | brctl.c | 80 char br[IF_NAMESIZE], ifn[IF_NAMESIZE]; local 101 if (!if_indextoname(pindices[j], ifn)) { 106 printf("%s", ifn);
|
/external/syslinux/com32/modules/ |
H A D | pxechn.c | 1047 * ifn Name of file to chainload to in a format PXELINUX understands 1050 int pxe_restart(char *ifn) argument 1056 pxe.fn = ifn; 1073 strcpy((char *)pxep->FileName, ifn);
|
/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...] |
/external/openssh/ |
H A D | channels.c | 839 channel_register_filter(int id, channel_infilter_fn *ifn, argument 848 c->input_filter = ifn;
|