Home
last modified time | relevance | path

Searched refs:RTA_NEXT (Results 1 – 23 of 23) sorted by relevance

/third_party/musl/src/network/
Dgetifaddrs.c115 for (rta = NLMSG_RTA(h, sizeof(*ifi)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
134 for (rta = NLMSG_RTA(h, sizeof(*ifi)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
162 for (rta = NLMSG_RTA(h, sizeof(*ifa)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
Dnetlink.h88 #define RTA_NEXT(rta) (struct rtattr*)((char*)(rta)+NETLINK_ALIGN((rta)->rta_len)) macro
Dif_nameindex.c44 for (; NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_nameindex()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetifaddrs.c124 for (rta = NLMSG_RTA(h, sizeof(*ifi)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
143 for (rta = NLMSG_RTA(h, sizeof(*ifi)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
171 for (rta = NLMSG_RTA(h, sizeof(*ifa)); NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_ifaddr()
Dif_nameindex.c45 for (; NLMSG_RTAOK(rta, h); rta = RTA_NEXT(rta)) { in netlink_msg_to_nameindex()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c141 attribute = RTA_NEXT(attribute, len)) { in rops_handle_POLLIN_netlink()
227 for ( ; RTA_OK(ra, ra_len); ra = RTA_NEXT(ra, ra_len)) { in rops_handle_POLLIN_netlink()
250 for ( ; RTA_OK(ra, ra_len); ra = RTA_NEXT(ra, ra_len)) { in rops_handle_POLLIN_netlink()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dpriv_netlink.h67 #define RTA_NEXT(rta,attrlen) \ macro
Ddriver_wext.c597 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname()
698 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink()
720 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_dellink()
Ddriver_hostap.c897 attr = RTA_NEXT(attr, attrlen); in hostapd_wireless_event_rtm_newlink()
Ddriver_atheros.c1572 attr = RTA_NEXT(attr, attrlen); in atheros_wireless_event_rtm_newlink()
Ddriver_nl80211.c1097 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_own_ifname()
1221 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_newlink()
1393 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_dellink()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dpriv_netlink.h67 #define RTA_NEXT(rta,attrlen) \ macro
Ddriver_wext.c597 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname()
698 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink()
720 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_dellink()
Ddriver_hostap.c893 attr = RTA_NEXT(attr, attrlen); in hostapd_wireless_event_rtm_newlink()
Ddriver_atheros.c1583 attr = RTA_NEXT(attr, attrlen); in atheros_wireless_event_rtm_newlink()
Ddriver_nl80211.c965 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_own_ifname()
1089 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_newlink()
1261 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_dellink()
/third_party/ltp/testcases/lib/
Dtst_net_iface_prefix.c94 retrta = RTA_NEXT(retrta, attlen); in read_iface_prefix()
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c130 rta = RTA_NEXT(rta, remaining); in validate_one_alg()
/third_party/toybox/toys/pending/
Dip.c891 for (; RTA_OK(attr, len); attr = RTA_NEXT(attr, len)) { in get_link_info()
1011 for (rta = IFA_RTA(ifa); RTA_OK(rta, len); rta=RTA_NEXT(rta, len)) in print_addrinfo()
1414 for (rta = IFA_RTA(addressInfo); RTA_OK(rta, rt_len); rta=RTA_NEXT(rta, rt_len)) { in ipaddr_print()
1519 for (rta = RTA_DATA(mxattr); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar)) in print_rta_metrics()
1611 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar)) in display_route_info()
1715 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar)) in display_route_info()
1849 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar)) in route_get()
2340 for (rta = RTM_RTA(msg); RTA_OK(rta, tvar); rta=RTA_NEXT(rta, tvar)) in show_rules()
/third_party/libnl/include/linux-private/linux/
Drtnetlink.h186 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ macro
/third_party/glib/gio/
Dgnetworkmonitornetlink.c380 attr = RTA_NEXT (attr, attrlen); in read_netlink_messages()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_full.c670 attr = RTA_NEXT(attr, attrlen); in vlan_read_ifnames()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c670 attr = RTA_NEXT(attr, attrlen); in vlan_read_ifnames()