Home
last modified time | relevance | path

Searched full:ifi (Results 1 – 15 of 15) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/
H A D0006-Handle-noisy-netlink-sockets.patch39 +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 D0001-Handle-interface-without-ifa_addr.patch25 + ((*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/linux/Documentation/devicetree/bindings/net/can/
H A Difi_canfd.txt1 IFI CANFD controller
5 - compatible: Should be "ifi,canfd-1.0"
12 compatible = "ifi,canfd-1.0";
/openbmc/qemu/linux-user/
H A Dfd-trans.c1236 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/netlink/specs/
H A Drt_link.yaml66 name: ifi-family
72 name: ifi-type
75 name: ifi-index
78 name: ifi-flags
83 name: ifi-change
1256 - ifi-index
1288 - ifi-index
1299 - ifi-index
1307 - ifi-family
1308 - ifi-type
[all …]
/openbmc/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c2 * CAN bus driver for IFI CANFD controller
7 * http://www.ifi-pld.de/IP/CANFD/canfd.html
218 /* IFI CANFD private data structure */
973 dev_err(dev, "This block is not IFI CANFD, id=%08x\n", id); in ifi_canfd_plat_probe()
1008 /* IFI CANFD can do both Bosch FD and ISO FD */ in ifi_canfd_plat_probe()
1011 /* IFI CANFD can do both Bosch FD and ISO FD */ in ifi_canfd_plat_probe()
1047 { .compatible = "ifi,canfd-1.0", .data = NULL },
1065 MODULE_DESCRIPTION("CAN bus driver for IFI CANFD controller");
H A DMakefile3 # Makefile for the IFI CANFD controller driver.
H A DKconfig4 tristate "IFI CAN_FD IP"
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c326 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 Dnetlink.c348 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/scripts/
H A Dheaderdep.pl5 # Vegard Nossum <vegardno@ifi.uio.no>
/openbmc/linux/net/caif/
H A Dcfcnfg.c169 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()
/openbmc/linux/net/sched/
H A Dsch_pie.c7 * ECN support is added by Naeem Khademi <naeemk@ifi.uio.no>
/openbmc/linux/Documentation/devicetree/bindings/
H A Dvendor-prefixes.yaml614 "^ifi,.*":
/openbmc/linux/drivers/net/
H A Dtun.c18 * Harald Roelle <harald.roelle@ifi.lmu.de> 2004/04/20