Home
last modified time | relevance | path

Searched refs:ifm (Results 1 – 14 of 14) sorted by relevance

/external/iproute2/ip/
Dlink_veth.c42 struct ifinfomsg *ifm, *peer_ifm; in veth_parse_opt() local
50 ifm = NLMSG_DATA(hdr); in veth_parse_opt()
51 ifi_flags = ifm->ifi_flags; in veth_parse_opt()
52 ifi_change = ifm->ifi_change; in veth_parse_opt()
53 ifm->ifi_flags = 0; in veth_parse_opt()
54 ifm->ifi_change = 0; in veth_parse_opt()
75 peer_ifm->ifi_flags = ifm->ifi_flags; in veth_parse_opt()
76 peer_ifm->ifi_change = ifm->ifi_change; in veth_parse_opt()
77 ifm->ifi_flags = ifi_flags; in veth_parse_opt()
78 ifm->ifi_change = ifi_change; in veth_parse_opt()
/external/iproute2/bridge/
Dvlan.c30 struct ifinfomsg ifm; in vlan_modify() member
46 req.ifm.ifi_family = PF_BRIDGE; in vlan_modify()
86 req.ifm.ifi_index = ll_name_to_index(d); in vlan_modify()
87 if (req.ifm.ifi_index == 0) { in vlan_modify()
145 struct ifinfomsg *ifm = NLMSG_DATA(n); in print_vlan() local
155 len -= NLMSG_LENGTH(sizeof(*ifm)); in print_vlan()
161 if (ifm->ifi_family != AF_BRIDGE) in print_vlan()
164 if (filter_index && filter_index != ifm->ifi_index) in print_vlan()
167 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifm), len); in print_vlan()
171 fprintf(fp, "%s\tNone\n", ll_index_to_name(ifm->ifi_index)); in print_vlan()
[all …]
Dfdb.c175 struct ifinfomsg ifm; in fdb_show() member
185 req.ifm.ifi_family = PF_BRIDGE; in fdb_show()
219 req.ifm.ifi_index = filter_index; in fdb_show()
222 if (rtnl_dump_request(&rth, RTM_GETNEIGH, &req.ifm, msg_size) < 0) { in fdb_show()
Dlink.c255 struct ifinfomsg ifm; in brlink_modify() member
278 req.ifm.ifi_family = PF_BRIDGE; in brlink_modify()
361 req.ifm.ifi_index = ll_name_to_index(d); in brlink_modify()
362 if (req.ifm.ifi_index == 0) { in brlink_modify()
/external/avahi/avahi-core/
Diface-pfroute.c63 struct if_msghdr *ifm = (struct if_msghdr *)rtm; in rtm_info() local
64 struct sockaddr_dl *sdl = (struct sockaddr_dl *)(ifm + 1); in rtm_info()
69 if (ifm->ifm_addrs == 0 && ifm->ifm_index > 0) { in rtm_info()
70 if (!(hw = avahi_interface_monitor_get_hw_interface(m, (AvahiIfIndex) ifm->ifm_index))) in rtm_info()
76 if (!(hw = avahi_interface_monitor_get_hw_interface(m, ifm->ifm_index))) in rtm_info()
77 if (!(hw = avahi_hw_interface_new(m, (AvahiIfIndex) ifm->ifm_index))) in rtm_info()
81 (ifm->ifm_flags & IFF_UP) && in rtm_info()
82 (!m->server->config.use_iff_running || (ifm->ifm_flags & IFF_RUNNING)) && in rtm_info()
83 !(ifm->ifm_flags & IFF_LOOPBACK) && in rtm_info()
84 (ifm->ifm_flags & IFF_MULTICAST) && in rtm_info()
[all …]
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_freebsd.c190 struct if_msghdr *ifm; in eth_get()
204 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
205 ifm = (struct if_msghdr *)p; in eth_get()
206 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
207 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
208 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/external/avahi/avahi-autoipd/
Diface-bsd.c86 struct if_msghdr ifm; member
132 struct if_msghdr *ifm; in iface_get_initial_state() local
172 for (next = buf; next < lim; next += ifm->ifm_msglen) { in iface_get_initial_state()
173 ifm = (struct if_msghdr *)next; in iface_get_initial_state()
174 if (ifm->ifm_type == RTM_NEWADDR) { in iface_get_initial_state()
Dmain.c585 struct if_msghdr *ifm; in __get_ether_addr() local
613 for (next = buf; next < lim; next += ifm->ifm_msglen) { in __get_ether_addr()
614 ifm = (struct if_msghdr *)next; in __get_ether_addr()
615 if (ifm->ifm_type == RTM_IFINFO) { in __get_ether_addr()
616 sdl = (struct sockaddr_dl *)(ifm + 1); in __get_ether_addr()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c850 struct if_msghdr *ifm; in eth_get() local
864 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
865 ifm = (struct if_msghdr *)p; in eth_get()
866 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
867 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
868 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c1216 struct if_msghdr *ifm; in wpa_driver_bsd_event_receive() local
1335 ifm = (struct if_msghdr *) rtm; in wpa_driver_bsd_event_receive()
1336 drv = bsd_get_drvindex(global, ifm->ifm_index); in wpa_driver_bsd_event_receive()
1339 if ((ifm->ifm_flags & IFF_UP) == 0 && in wpa_driver_bsd_event_receive()
1345 } else if ((ifm->ifm_flags & IFF_UP) != 0 && in wpa_driver_bsd_event_receive()
1352 drv->flags = ifm->ifm_flags; in wpa_driver_bsd_event_receive()
/external/dhcpcd-6.8.2/
Dif-bsd.c1153 struct if_msghdr *ifm; in if_managelink() local
1196 ifm = (struct if_msghdr *)(void *)p; in if_managelink()
1197 ifp = if_findindex(ctx->ifaces, ifm->ifm_index); in if_managelink()
1200 switch (ifm->ifm_data.ifi_link_state) { in if_managelink()
1219 (unsigned int)ifm->ifm_flags, ifp->name); in if_managelink()
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java683 String ifm=request.getHeader(HttpHeaders.IF_MATCH); in passConditionalHeaders() local
684 if (ifm!=null) in passConditionalHeaders()
689 … QuotedStringTokenizer quoted = new QuotedStringTokenizer(ifm,", ",false,true); in passConditionalHeaders()
/external/iproute2/lib/
Dlibnetlink.c111 struct ifinfomsg ifm; in rtnl_wilddump_req_filter() member
123 req.ifm.ifi_family = family; in rtnl_wilddump_req_filter()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt5289 "ifm",