/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | priv_netlink.h | 65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 66 (rta)->rta_len <= (len)) 68 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ 69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len))) 73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) 105 unsigned short rta_len; member
|
D | driver_wext.c | 582 int attrlen, rta_len; in wpa_driver_wext_own_ifname() local 588 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in wpa_driver_wext_own_ifname() 591 if (os_strcmp(((char *) attr) + rta_len, drv->ifname) in wpa_driver_wext_own_ifname() 626 int attrlen, rta_len; in wpa_driver_wext_event_rtm_newlink() local 687 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in wpa_driver_wext_event_rtm_newlink() 691 drv, ((char *) attr) + rta_len, in wpa_driver_wext_event_rtm_newlink() 692 attr->rta_len - rta_len); in wpa_driver_wext_event_rtm_newlink() 695 ((char *) attr) + rta_len, in wpa_driver_wext_event_rtm_newlink() 696 attr->rta_len - rta_len, 0); in wpa_driver_wext_event_rtm_newlink() 707 int attrlen, rta_len; in wpa_driver_wext_event_rtm_dellink() local [all …]
|
D | netlink.c | 200 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla() 209 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
|
D | driver_hostap.c | 877 int attrlen, rta_len; in hostapd_wireless_event_rtm_newlink() local 886 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in hostapd_wireless_event_rtm_newlink() 890 drv, ((char *) attr) + rta_len, in hostapd_wireless_event_rtm_newlink() 891 attr->rta_len - rta_len); in hostapd_wireless_event_rtm_newlink()
|
D | driver_atheros.c | 1567 int attrlen, rta_len; in atheros_wireless_event_rtm_newlink() local 1576 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in atheros_wireless_event_rtm_newlink() 1580 drv, ((char *) attr) + rta_len, in atheros_wireless_event_rtm_newlink() 1581 attr->rta_len - rta_len); in atheros_wireless_event_rtm_newlink()
|
D | driver_nl80211.c | 950 int attrlen, rta_len; in wpa_driver_nl80211_own_ifname() local 956 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in wpa_driver_nl80211_own_ifname() 959 if (os_strcmp(((char *) attr) + rta_len, in wpa_driver_nl80211_own_ifname()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | priv_netlink.h | 65 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \ 66 (rta)->rta_len <= (len)) 68 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ 69 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len))) 73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) 105 unsigned short rta_len; member
|
D | driver_wext.c | 582 int attrlen, rta_len; in wpa_driver_wext_own_ifname() local 588 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in wpa_driver_wext_own_ifname() 591 if (os_strcmp(((char *) attr) + rta_len, drv->ifname) in wpa_driver_wext_own_ifname() 626 int attrlen, rta_len; in wpa_driver_wext_event_rtm_newlink() local 687 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in wpa_driver_wext_event_rtm_newlink() 691 drv, ((char *) attr) + rta_len, in wpa_driver_wext_event_rtm_newlink() 692 attr->rta_len - rta_len); in wpa_driver_wext_event_rtm_newlink() 695 ((char *) attr) + rta_len, in wpa_driver_wext_event_rtm_newlink() 696 attr->rta_len - rta_len, 0); in wpa_driver_wext_event_rtm_newlink() 707 int attrlen, rta_len; in wpa_driver_wext_event_rtm_dellink() local [all …]
|
D | netlink.c | 200 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla() 209 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
|
D | driver_hostap.c | 881 int attrlen, rta_len; in hostapd_wireless_event_rtm_newlink() local 890 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in hostapd_wireless_event_rtm_newlink() 894 drv, ((char *) attr) + rta_len, in hostapd_wireless_event_rtm_newlink() 895 attr->rta_len - rta_len); in hostapd_wireless_event_rtm_newlink()
|
D | driver_atheros.c | 1556 int attrlen, rta_len; in atheros_wireless_event_rtm_newlink() local 1565 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in atheros_wireless_event_rtm_newlink() 1569 drv, ((char *) attr) + rta_len, in atheros_wireless_event_rtm_newlink() 1570 attr->rta_len - rta_len); in atheros_wireless_event_rtm_newlink()
|
/third_party/musl/src/network/ |
D | netlink.h | 37 unsigned short rta_len; member 86 #define RTA_DATALEN(rta) ((rta)->rta_len-sizeof(struct rtattr)) 87 #define RTA_DATAEND(rta) ((char*)(rta)+(rta)->rta_len) 88 #define RTA_NEXT(rta) (struct rtattr*)((char*)(rta)+NETLINK_ALIGN((rta)->rta_len))
|
/third_party/ltp/lib/ |
D | tst_rtnetlink.c | 301 attr->rta_len = RTA_LENGTH(len); in tst_rtnl_add_attr() 303 ctx->curmsg->nlmsg_len = size + attr->rta_len; in tst_rtnl_add_attr() 304 ctx->datalen = NLMSG_ALIGN(ctx->datalen) + attr->rta_len; in tst_rtnl_add_attr() 355 attr->rta_len = ctx->datalen - offset; in tst_rtnl_add_attr_list()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | vlan_full.c | 639 int attrlen, nlmsg_len, rta_len; in vlan_read_ifnames() local 657 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in vlan_read_ifnames() 660 int n = attr->rta_len - rta_len; in vlan_read_ifnames() 666 os_memcpy(ifname, ((char *) attr) + rta_len, n); in vlan_read_ifnames()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | vlan_full.c | 639 int attrlen, nlmsg_len, rta_len; in vlan_read_ifnames() local 657 rta_len = RTA_ALIGN(sizeof(struct rtattr)); in vlan_read_ifnames() 660 int n = attr->rta_len - rta_len; in vlan_read_ifnames() 666 os_memcpy(ifname, ((char *) attr) + rta_len, n); in vlan_read_ifnames()
|
/third_party/ltp/testcases/kernel/crypto/ |
D | af_alg06.c | 30 .attr.rta_len = sizeof(key), in run()
|
/third_party/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 113 rta->rta_len = RTA_LENGTH(sizeof(int)); in main()
|
/third_party/toybox/toys/pending/ |
D | ip.c | 458 if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) { in add_varlen_rtattr_to_buffer() 461 subrta = (struct rtattr*)(((char*)rta) + RTA_ALIGN(rta->rta_len)); in add_varlen_rtattr_to_buffer() 463 subrta->rta_len = len; in add_varlen_rtattr_to_buffer() 467 rta->rta_len = NLMSG_ALIGN(rta->rta_len) + RTA_ALIGN(len); in add_varlen_rtattr_to_buffer() 487 rta->rta_len = len; in add_string_to_rtattr() 650 data->rta_len = (void *)NLMSG_TAIL(&request.mhdr) - (void *)data; in linkupdate() 652 attr->rta_len = (void *)NLMSG_TAIL(&request.mhdr) - (void *)attr; in linkupdate() 2037 mxrta->rta_len = RTA_LENGTH(0); in route_update() 2107 if (mxrta->rta_len > RTA_LENGTH(0)) { in route_update() 2341 if (tvar) error_msg("deficit %d, rtalen = %d!", tvar, rta->rta_len); in show_rules()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 232 ra->rta_len); in rops_handle_POLLIN_netlink()
|
/third_party/ltp/doc/ |
D | network-c-api.txt | 327 +data+ as part of the attribute payload. +struct rtattr.rta_len+ will be
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
D | netlink.rs | 2290 pub rta_len: crate::ctypes::c_ushort, field
|
/third_party/rust/crates/linux-raw-sys/src/sparc/ |
D | netlink.rs | 2291 pub rta_len: crate::ctypes::c_ushort, field
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
D | netlink.rs | 2297 pub rta_len: crate::ctypes::c_ushort, field
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
D | netlink.rs | 2300 pub rta_len: crate::ctypes::c_ushort, field
|
/third_party/rust/crates/linux-raw-sys/src/x32/ |
D | netlink.rs | 2291 pub rta_len: crate::ctypes::c_ushort, field
|