Searched refs:ifi (Results 1 – 7 of 7) sorted by relevance
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/ |
H A D | 0006-Handle-noisy-netlink-sockets.patch | 39 +mDNSlocal mDNSBool InterfacesMatch(PosixNetworkInterface *intf, struct ifaddrs *ifi) 45 + if_index = if_nametoindex(ifi->ifa_name); 50 + (intf->sa_family == ifi->ifa_addr->sa_family) && 51 + (strcmp(intf->coreIntf.ifname, ifi->ifa_name) == 0)) 53 + SockAddrTomDNSAddr(ifi->ifa_addr, &ip, NULL); 54 + SockAddrTomDNSAddr(ifi->ifa_netmask, &mask, NULL); 72 + struct ifaddrs *ifa_list, **ifi, *ifa_loop4 = NULL; 101 + for (ifi = &ifa_list; *ifi != NULL; ifi = &(*ifi)->ifa_next) 103 + if (InterfacesMatch(intf, *ifi)) 116 + for (ifi = &ifa_list; *ifi != NULL; ifi = &(*ifi)->ifa_next) [all …]
|
H A D | 0001-Handle-interface-without-ifa_addr.patch | 25 + ((*ifi)->ifa_addr != NULL) && 26 ((*ifi)->ifa_addr->sa_family == AF_INET) && 27 ((*ifi)->ifa_flags & IFF_UP) && 28 ((*ifi)->ifa_flags & IFF_LOOPBACK)) 33 - if ( (((*ifi)->ifa_addr->sa_family == AF_INET) 34 + if ( ((*ifi)->ifa_addr != NULL) && 35 + (((*ifi)->ifa_addr->sa_family == AF_INET) 37 || ((*ifi)->ifa_addr->sa_family == AF_INET6)
|
/openbmc/qemu/linux-user/ |
H A D | fd-trans.c | 1236 struct ifinfomsg *ifi; in host_to_target_data_route() local 1245 if (nlh->nlmsg_len >= NLMSG_LENGTH(sizeof(*ifi))) { in host_to_target_data_route() 1246 ifi = NLMSG_DATA(nlh); in host_to_target_data_route() 1247 ifi->ifi_type = tswap16(ifi->ifi_type); in host_to_target_data_route() 1248 ifi->ifi_index = tswap32(ifi->ifi_index); in host_to_target_data_route() 1249 ifi->ifi_flags = tswap32(ifi->ifi_flags); in host_to_target_data_route() 1250 ifi->ifi_change = tswap32(ifi->ifi_change); in host_to_target_data_route() 1251 host_to_target_link_rtattr(IFLA_RTA(ifi), in host_to_target_data_route() 1252 nlmsg_len - NLMSG_LENGTH(sizeof(*ifi))); in host_to_target_data_route() 1459 struct ifinfomsg *ifi; in target_to_host_data_route() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/can/ |
H A D | ifi_canfd.txt | 5 - compatible: Should be "ifi,canfd-1.0" 12 compatible = "ifi,canfd-1.0";
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 326 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() local 329 len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi)); in __dump_link_nlmsg() 330 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg() 334 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 348 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() local 351 len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi)); in __dump_link_nlmsg() 352 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg() 357 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
|
/openbmc/linux/net/caif/ |
H A D | cfcnfg.c | 169 static int cfcnfg_get_id_from_ifi(struct cfcnfg *cnfg, int ifi) in cfcnfg_get_id_from_ifi() argument 174 if (phy->ifindex == ifi && phy->up) in cfcnfg_get_id_from_ifi()
|