Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/drivers/
Dnetlink.c174 struct ifinfomsg ifinfo; in netlink_send_oper_ifla() member
189 req.ifinfo.ifi_family = AF_UNSPEC; in netlink_send_oper_ifla()
190 req.ifinfo.ifi_type = 0; in netlink_send_oper_ifla()
191 req.ifinfo.ifi_index = ifindex; in netlink_send_oper_ifla()
192 req.ifinfo.ifi_flags = 0; in netlink_send_oper_ifla()
193 req.ifinfo.ifi_change = 0; in netlink_send_oper_ifla()
/external/strace/
Drtnl_link.c896 struct ifinfomsg ifinfo = { .ifi_family = family }; in DECL_NETLINK_ROUTE_DECODER() local
897 size_t offset = sizeof(ifinfo.ifi_family); in DECL_NETLINK_ROUTE_DECODER()
900 PRINT_FIELD_XVAL("{", ifinfo, ifi_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER()
903 if (len >= sizeof(ifinfo)) { in DECL_NETLINK_ROUTE_DECODER()
905 sizeof(ifinfo) - offset, in DECL_NETLINK_ROUTE_DECODER()
906 (char *) &ifinfo + offset)) { in DECL_NETLINK_ROUTE_DECODER()
907 PRINT_FIELD_XVAL_SORTED_SIZED("", ifinfo, ifi_type, in DECL_NETLINK_ROUTE_DECODER()
911 PRINT_FIELD_IFINDEX(", ", ifinfo, ifi_index); in DECL_NETLINK_ROUTE_DECODER()
912 PRINT_FIELD_FLAGS(", ", ifinfo, ifi_flags, in DECL_NETLINK_ROUTE_DECODER()
914 PRINT_FIELD_X(", ", ifinfo, ifi_change); in DECL_NETLINK_ROUTE_DECODER()
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c316 struct ifreq ifinfo; /* Interface information */ in complete_eth_addrs() local
329 get_ifinfo(&ifinfo, sock_fd, fake_p->src_ifname, SIOCGIFHWADDR); in complete_eth_addrs()
330 memcpy(fake_p->saddr_ll.sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in complete_eth_addrs()
333 get_ifinfo(&ifinfo, sock_fd, fake_p->src_ifname, SIOCGIFINDEX); in complete_eth_addrs()
334 fake_p->saddr_ll.sll_ifindex = ifinfo.ifr_ifindex; in complete_eth_addrs()
335 fake_p->daddr_ll.sll_ifindex = ifinfo.ifr_ifindex; in complete_eth_addrs()
Dns-icmp_redirector.c225 struct ifreq ifinfo; /* Interface information */ in open_socket() local
237 get_ifinfo(&ifinfo, sd, ifname, SIOCGIFINDEX); in open_socket()
243 lla.sll_ifindex = ifinfo.ifr_ifindex; in open_socket()
248 get_ifinfo(&ifinfo, sd, ifname, SIOCGIFFLAGS); in open_socket()
249 ifinfo.ifr_flags = ifinfo.ifr_flags | IFF_PROMISC; in open_socket()
250 if (ioctl(sd, SIOCSIFFLAGS, &ifinfo) < 0) in open_socket()
Dns-udpsender.c292 struct ifreq ifinfo; /* Interface information */ in create_udp_datagram() local
328 get_ifinfo(&ifinfo, udp_p->sd, udp_p->ifname, SIOCGIFINDEX); in create_udp_datagram()
329 ifindex = ifinfo.ifr_ifindex; in create_udp_datagram()
Dns-icmpv6_sender.c177 struct ifreq ifinfo; /* Interface information */ in specify_hw_addr() local
189 get_ifinfo(&ifinfo, sock_fd, ifname, SIOCGIFHWADDR); in specify_hw_addr()
190 memcpy(lladdr_p->sll_addr, ifinfo.ifr_hwaddr.sa_data, ETH_ALEN); in specify_hw_addr()
/external/strace/tests/
Dnetlink_route.c208 const struct ifinfomsg ifinfo = { in test_rtnl_link() local
215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); in test_rtnl_link()
217 TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, in test_rtnl_link()
222 PRINT_FIELD_X(", ", ifinfo, ifi_change); in test_rtnl_link()
/external/strace/tests-m32/
Dnetlink_route.c208 const struct ifinfomsg ifinfo = { in test_rtnl_link() local
215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); in test_rtnl_link()
217 TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, in test_rtnl_link()
222 PRINT_FIELD_X(", ", ifinfo, ifi_change); in test_rtnl_link()
/external/strace/tests-mx32/
Dnetlink_route.c208 const struct ifinfomsg ifinfo = { in test_rtnl_link() local
215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); in test_rtnl_link()
217 TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, in test_rtnl_link()
222 PRINT_FIELD_X(", ", ifinfo, ifi_change); in test_rtnl_link()
/external/bcc/src/cc/
Dlibbpf.c1235 struct ifinfomsg ifinfo; in bpf_attach_xdp() member
1273 req.ifinfo.ifi_family = AF_UNSPEC; in bpf_attach_xdp()
1274 req.ifinfo.ifi_index = if_nametoindex(dev_name); in bpf_attach_xdp()
1275 if (req.ifinfo.ifi_index == 0) { in bpf_attach_xdp()
/external/e2fsprogs/lib/et/
Dcom_err.texinfo20 @ifinfo
25 @end ifinfo
33 @ifinfo
60 @end ifinfo
Dtexinfo.tex2937 % Ignore @ignore, @ifhtml, @ifinfo, and the like.
2945 \def\ifinfo{\doignore{ifinfo}}
2979 % #1 contains the command name as a string, e.g., `ifinfo'.
3002 % If we're here, #1 ends with ^^M\ifinfo (for example).
/external/e2fsprogs/doc/
Dlibext2fs.texinfo8 @ifinfo
13 @end ifinfo
28 @ifinfo
55 @end ifinfo
Dtexinfo.tex2937 % Ignore @ignore, @ifhtml, @ifinfo, and the like.
2945 \def\ifinfo{\doignore{ifinfo}}
2979 % #1 contains the command name as a string, e.g., `ifinfo'.
3002 % If we're here, #1 ends with ^^M\ifinfo (for example).
/external/python/cpython2/Modules/_ctypes/libffi/
Dtexinfo.tex4053 % Ignore @ignore, @ifhtml, @ifinfo, and the like.
4061 \def\ifinfo{\doignore{ifinfo}}
4095 % #1 contains the command name as a string, e.g., `ifinfo'.
4118 % If we're here, #1 ends with ^^M\ifinfo (for example).
/external/libffi/
Dtexinfo.tex4053 % Ignore @ignore, @ifhtml, @ifinfo, and the like.
4061 \def\ifinfo{\doignore{ifinfo}}
4095 % #1 contains the command name as a string, e.g., `ifinfo'.
4118 % If we're here, #1 ends with ^^M\ifinfo (for example).