Home
last modified time | relevance | path

Searched refs:ifn (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_bsd_addr.c253 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) == 0) {
525 if (ifnet_get_address_list(ifn, &ifaddrlist) != 0) {
[all …]
Dsctp_os_userspace.h253 #define SCTP_IFN_IS_IFT_LOOP(ifn) ((ifn)->ifn_type == IFT_LOOP) argument
666 #define SCTP_IFN_IS_IFT_LOOP(ifn) (strncmp((ifn)->ifn_name, "lo", 2) == 0) argument
906 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, af) sctp_userspace_get_mtu_from_ifn(ifn_index… argument
Dsctp_pcb.h698 sctp_find_ifn(void *ifn, uint32_t ifn_index);
718 void *ifn, uint32_t ifn_index, uint32_t ifn_type,
Dsctp_pcb.c263 sctp_find_ifn(void *ifn, uint32_t ifn_index) argument
276 if (sctp_ifnp->ifn_p && ifn && (sctp_ifnp->ifn_p == ifn)) {
558 sctp_add_addr_to_vrf(uint32_t vrf_id, void *ifn, uint32_t ifn_index, argument
576 sctp_ifnp = sctp_find_ifn(ifn, ifn_index);
604 sctp_ifnp->ifn_p = ifn;
609 sctp_ifnp->ifn_mtu = SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, addr->sa_family);
6863 struct sctp_ifn *ifn, *nifn; local
6972 LIST_FOREACH_SAFE(ifn, &vrf->ifnlist, next_ifn, nifn) {
6973 LIST_FOREACH_SAFE(ifa, &ifn->ifalist, next_ifa, nifa) {
6980 LIST_REMOVE(ifn, next_bucket);
[all …]
Dsctp_output.c2517 void *ifn; in sctp_choose_boundspecific_inp() local
2528 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); in sctp_choose_boundspecific_inp()
2530 sctp_ifn = sctp_find_ifn(ifn, ifn_index); in sctp_choose_boundspecific_inp()
2654 void *ifn; in sctp_choose_boundspecific_stcb() local
2669 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); in sctp_choose_boundspecific_stcb()
2671 sctp_ifn = sctp_find_ifn( ifn, ifn_index); in sctp_choose_boundspecific_stcb()
2837 sctp_select_nth_preferred_addr_from_ifn_boundall(struct sctp_ifn *ifn, in sctp_select_nth_preferred_addr_from_ifn_boundall() argument
2868 LIST_FOREACH(ifa, &ifn->ifalist, next_ifa) { in sctp_select_nth_preferred_addr_from_ifn_boundall()
2971 sctp_count_num_preferred_boundall(struct sctp_ifn *ifn, in sctp_count_num_preferred_boundall() argument
2986 LIST_FOREACH(ifa, &ifn->ifalist, next_ifa) { in sctp_count_num_preferred_boundall()
[all …]
Dsctp_asconf.c951 sctp_asconf_nets_cleanup(struct sctp_tcb *stcb, struct sctp_ifn *ifn) in sctp_asconf_nets_cleanup() argument
973 ((ifn == NULL) || in sctp_asconf_nets_cleanup()
974 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { in sctp_asconf_nets_cleanup()
/external/dhcpcd/
Dif-linux.c235 char ifn[IF_NAMESIZE + 1]; in link_route() local
271 if (if_indextoname(idx, ifn)) in link_route()
272 rt.iface = find_interface(ifn); in link_route()
296 char ifn[IF_NAMESIZE + 1]; in link_addr() local
310 if (if_indextoname(ifa->ifa_index, ifn) == NULL) in link_addr()
312 iface = find_interface(ifn); in link_addr()
335 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest); in link_addr()
345 char ifn[IF_NAMESIZE + 1]; in link_netlink() local
366 *ifn = '\0'; in link_netlink()
376 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)); in link_netlink()
[all …]
Dif-pref.c79 struct interface *sorted, *ifp, *ifn, *ift; in sort_interfaces() local
86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) { in sort_interfaces()
Ddhcpcd.c1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; in handle_interface() local
1324 for (ifn = ifaces; ifn; ifn = ifn->next) { in handle_interface()
1325 if (strcmp(ifn->name, ifp->name) == 0) in handle_interface()
1327 ifl = ifn; in handle_interface()
1329 if (ifn) { in handle_interface()
1331 ifn->flags = ifp->flags; in handle_interface()
1332 ifn->hwlen = ifp->hwlen; in handle_interface()
1334 memcpy(ifn->hwaddr, ifp->hwaddr, ifn->hwlen); in handle_interface()
1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; in reconf_reboot() local
1482 for (ifn = ifaces; ifn; ifn = ifn->next) { in reconf_reboot()
[all …]
Dnet.c339 char ifn[IF_NAMESIZE]; in discover_interfaces() local
382 strlcpy(ifn, argv[i], sizeof(ifn)); in discover_interfaces()
383 p = strchr(ifn, ':'); in discover_interfaces()
386 if (strcmp(ifn, ifa->ifa_name) == 0) in discover_interfaces()
/external/libpcap/
Dfad-glifc.c88 struct lifnum ifn; in pcap_findalldevs_interfaces() local
124 ifn.lifn_family = AF_UNSPEC; in pcap_findalldevs_interfaces()
125 ifn.lifn_flags = 0; in pcap_findalldevs_interfaces()
126 ifn.lifn_count = 0; in pcap_findalldevs_interfaces()
127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs_interfaces()
138 buf_size = ifn.lifn_count * sizeof (struct lifreq); in pcap_findalldevs_interfaces()
/external/clang/test/FixIt/
Dfixit-cxx0x.cpp92 int ifn(); char kfn();
98 int f = me.f(ifn, kfn);
99 int g = me.g(ifn, kfn);
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
Dpatch_functions.cc510 for (int ifn = 0; ifn < kNumFunctions; ifn++) { in PopulateWindowsFn() local
514 this->windows_fn(ifn) == g_module_libcs[imod]->windows_fn(ifn)) { in PopulateWindowsFn()
515 windows_fn_[ifn] = NULL; in PopulateWindowsFn()
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
Dpatch_functions.cc510 for (int ifn = 0; ifn < kNumFunctions; ifn++) { in PopulateWindowsFn() local
514 this->windows_fn(ifn) == g_module_libcs[imod]->windows_fn(ifn)) { in PopulateWindowsFn()
515 windows_fn_[ifn] = NULL; in PopulateWindowsFn()
/external/blktrace/
Dblktrace.c265 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/
Dprettify.js10 …?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pr…