/external/libpcap/ |
D | fad-glifc.c | 83 struct lifnum ifn; in pcap_findalldevs_interfaces() local 119 ifn.lifn_family = AF_UNSPEC; in pcap_findalldevs_interfaces() 120 ifn.lifn_flags = 0; in pcap_findalldevs_interfaces() 121 ifn.lifn_count = 0; in pcap_findalldevs_interfaces() 122 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs_interfaces() 133 buf_size = ifn.lifn_count * sizeof (struct lifreq); in pcap_findalldevs_interfaces()
|
/external/dhcpcd-6.8.2/ |
D | ipv4.c | 907 struct interface *ifp = arg, *ifn; in ipv4_applyaddr() 929 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr() 930 if (ifn == ifp || in ipv4_applyaddr() 931 strcmp(ifn->name, ifp->name) == 0) in ipv4_applyaddr() 933 nstate = D_STATE(ifn); in ipv4_applyaddr() 937 if (ifn->options->options & in ipv4_applyaddr() 940 dhcp_bind(ifn, NULL); in ipv4_applyaddr() 942 ipv4_addaddr(ifn, in ipv4_applyaddr() 959 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in ipv4_applyaddr() 960 if (ifn == ifp || strcmp(ifn->name, ifp->name) == 0) in ipv4_applyaddr() [all …]
|
D | dhcpcd.c | 702 struct interface *ifn; in warn_iaid_conflict() local 705 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in warn_iaid_conflict() 706 if (ifn == ifp) in warn_iaid_conflict() 708 if (ifn->options->options & DHCPCD_PFXDLGONLY) in warn_iaid_conflict() 710 if (memcmp(ifn->options->iaid, iaid, in warn_iaid_conflict() 711 sizeof(ifn->options->iaid)) == 0) in warn_iaid_conflict() 713 for (i = 0; i < ifn->options->ia_len; i++) { in warn_iaid_conflict() 714 if (memcmp(&ifn->options->ia[i].iaid, iaid, in warn_iaid_conflict() 715 sizeof(ifn->options->ia[i].iaid)) == 0) in warn_iaid_conflict() 721 if (ifn && strcmp(ifp->name, ifn->name)) in warn_iaid_conflict() [all …]
|
D | arp.c | 125 const struct interface *ifn; in arp_packet() local 171 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in arp_packet() 172 if (ar.ar_hln == ifn->hwlen && in arp_packet() 173 memcmp(hw_s, ifn->hwaddr, ifn->hwlen) == 0) in arp_packet() 176 if (ifn) in arp_packet()
|
D | if.c | 261 char ifn[IF_NAMESIZE]; in if_discover() local 330 strlcpy(ifn, argv[i], intf_len + 1); in if_discover() 334 p = strchr(ifn, ':'); in if_discover() 338 if (strcmp(ifn, ifa->ifa_name) == 0) in if_discover() 344 strlcpy(ifn, ifa->ifa_name, sizeof(ifn)); in if_discover() 354 p = ifn; in if_discover()
|
D | if-linux.c | 741 char ifn[IF_NAMESIZE + 1]; in link_netlink() local 767 *ifn = '\0'; in link_netlink() 779 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)); in link_netlink() 789 dhcpcd_handleinterface(ctx, -1, ifn); in link_netlink() 798 dhcpcd_handleinterface(ctx, -1, ifn); in link_netlink() 803 if (handle_rename(ctx, (unsigned int)ifi->ifi_index, ifn)) in link_netlink() 807 if ((ifp = if_find(ctx->ifaces, ifn)) == NULL) { in link_netlink() 811 dhcpcd_handleinterface(ctx, 1, ifn); in link_netlink() 821 dhcpcd_handlehwaddr(ctx, ifn, RTA_DATA(hwaddr), l); in link_netlink() 826 ifi->ifi_flags, ifn); in link_netlink()
|
D | dhcp6.c | 2583 struct interface *ifn; in dhcp6_findpfxdlgif() local 2589 TAILQ_FOREACH(ifn, ifp->ctx->ifaces, next) { in dhcp6_findpfxdlgif() 2590 if (strcmp(ifn->name, ifp->name) == 0 && in dhcp6_findpfxdlgif() 2591 ifn->options->options & DHCPCD_PFXDLGONLY) in dhcp6_findpfxdlgif() 2592 return ifn; in dhcp6_findpfxdlgif() 3197 struct interface *ifn; in dhcp6_start1() local 3199 ifn = dhcp6_findpfxdlgif(ifp); in dhcp6_start1() 3200 if (ifn == NULL) { in dhcp6_start1() 3203 ifn = TAILQ_FIRST(ifs); in dhcp6_start1() 3204 if (ifn) { in dhcp6_start1() [all …]
|
/external/clang/test/FixIt/ |
D | fixit-cxx0x.cpp | 92 int ifn(); char kfn(); 98 int f = me.f(ifn, kfn); 99 int g = me.g(ifn, kfn);
|
/external/toybox/toys/pending/ |
D | brctl.c | 80 char br[IF_NAMESIZE], ifn[IF_NAMESIZE]; in br_show() local 101 if (!if_indextoname(pindices[j], ifn)) { in br_show() 106 printf("%s", ifn); in br_show()
|
/external/avahi/avahi-python/avahi-discover/ |
D | avahi-discover.py | 124 ifn = self.get_interface_name(interface, protocol) 126 …self.zc_ifaces[(interface,protocol)] = self.insert_row(self.treemodel, None, ifn, None,interface,p… 200 ifn = self.get_interface_name(interface, protocol) 201 …self.zc_ifaces[(interface,protocol)] = self.insert_row(self.treemodel, None, ifn,None,interface,pr…
|
/external/blktrace/ |
D | blktrace.c | 265 char ifn[MAXPATHLEN + 64]; member 1432 static inline void read_err(int cpu, char *ifn) in read_err() argument 1436 cpu, ifn, errno, strerror(errno)); in read_err() 1616 snprintf(iop->ifn, sizeof(iop->ifn), "%s/block/%s/trace%d", in open_ios() 1619 iop->ifd = my_open(iop->ifn, O_RDONLY | O_NONBLOCK); in open_ios() 1622 tp->cpu, iop->ifn, errno, strerror(errno)); in open_ios() 1694 read_err(tp->cpu, iop->ifn); in handle_pfds_file() 1716 perror(iop->ifn); in handle_pfds_netclient() 1763 read_err(tp->cpu, iop->ifn); in handle_pfds_entries()
|
/external/okhttp/website/static/ |
D | prettify.js | 10 …?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pr…
|