/third_party/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 52 const struct crypto_report_larval *p = RTA_DATA(rta); in validate_attr() 58 const struct crypto_report_hash *p = RTA_DATA(rta); in validate_attr() 64 const struct crypto_report_blkcipher *p = RTA_DATA(rta); in validate_attr() 71 const struct crypto_report_aead *p = RTA_DATA(rta); in validate_attr() 78 const struct crypto_report_comp *p = RTA_DATA(rta); in validate_attr() 84 const struct crypto_report_rng *p = RTA_DATA(rta); in validate_attr() 90 const struct crypto_report_cipher *p = RTA_DATA(rta); in validate_attr() 96 const struct crypto_report_akcipher *p = RTA_DATA(rta); in validate_attr() 102 const struct crypto_report_kpp *p = RTA_DATA(rta); in validate_attr() 108 const struct crypto_report_acomp *p = RTA_DATA(rta); in validate_attr()
|
/third_party/musl/src/network/ |
D | getifaddrs.c | 138 memcpy(ifs->name, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr() 143 …copy_lladdr(&ifs->ifa.ifa_addr, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, ifi->… in netlink_msg_to_ifaddr() 146 …copy_lladdr(&ifs->ifa.ifa_broadaddr, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, i… in netlink_msg_to_ifaddr() 150 memcpy(ifs->ifa.ifa_data, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr() 168 …copy_addr(&ifs->ifa.ifa_dstaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), ifa-… in netlink_msg_to_ifaddr() 170 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 173 …copy_addr(&ifs->ifa.ifa_broadaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), if… in netlink_msg_to_ifaddr() 183 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 187 memcpy(ifs->name, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr()
|
D | if_nameindex.c | 57 memcmp(map->name, RTA_DATA(rta), namelen) == 0) in netlink_msg_to_nameindex() 73 memcpy(map->name, RTA_DATA(rta), namelen); in netlink_msg_to_nameindex()
|
D | netlink.h | 85 #define RTA_DATA(rta) ((void*)((char*)(rta)+sizeof(struct rtattr))) macro
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getifaddrs.c | 147 memcpy(ifs->name, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr() 152 …copy_lladdr(&ifs->ifa.ifa_addr, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, ifi->… in netlink_msg_to_ifaddr() 155 …copy_lladdr(&ifs->ifa.ifa_broadaddr, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, i… in netlink_msg_to_ifaddr() 159 memcpy(ifs->ifa.ifa_data, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr() 177 …copy_addr(&ifs->ifa.ifa_dstaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), ifa-… in netlink_msg_to_ifaddr() 179 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 182 …copy_addr(&ifs->ifa.ifa_broadaddr, ifa->ifa_family, &ifs->ifu, RTA_DATA(rta), RTA_DATALEN(rta), if… in netlink_msg_to_ifaddr() 192 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 196 memcpy(ifs->name, RTA_DATA(rta), RTA_DATALEN(rta)); in netlink_msg_to_ifaddr()
|
D | if_nameindex.c | 58 memcmp(map->name, RTA_DATA(rta), namelen) == 0) in netlink_msg_to_nameindex() 74 memcpy(map->name, RTA_DATA(rta), namelen); in netlink_msg_to_nameindex()
|
/third_party/toybox/toys/pending/ |
D | ip.c | 463 memcpy(RTA_DATA(subrta), data, alen); in add_varlen_rtattr_to_buffer() 486 memcpy(RTA_DATA(rta), data, alen); in add_string_to_rtattr() 894 snprintf(link->iface, IFNAMSIZ, "%s",(char *) RTA_DATA(attr)); in get_link_info() 900 inet_ntop(AF_INET, RTA_DATA(attr), link->laddr, 64); in get_link_info() 901 else fill_address(RTA_DATA(attr), link->laddr); in get_link_info() 907 inet_ntop(AF_INET, RTA_DATA(attr), link->bcast, 64); in get_link_info() 908 else fill_address(RTA_DATA(attr), link->bcast); in get_link_info() 911 link->mtu = *((int*)(RTA_DATA(attr))); in get_link_info() 914 snprintf(link->qdiscpline, IFNAMSIZ, "%s", (char *) RTA_DATA(attr)); in get_link_info() 917 link->rt_stat = *((struct rtnl_link_stats*) RTA_DATA(attr)); in get_link_info() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | netlink.c | 201 *((char *) RTA_DATA(rta)) = linkmode; in netlink_send_oper_ifla() 210 *((char *) RTA_DATA(rta)) = operstate; in netlink_send_oper_ifla()
|
D | priv_netlink.h | 72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) macro
|
D | driver_nl80211.c | 1070 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_newlink() 1245 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_dellink()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | netlink.c | 201 *((char *) RTA_DATA(rta)) = linkmode; in netlink_send_oper_ifla() 210 *((char *) RTA_DATA(rta)) = operstate; in netlink_send_oper_ifla()
|
D | priv_netlink.h | 72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) macro
|
D | driver_nl80211.c | 1070 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_newlink() 1245 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_dellink()
|
/third_party/glib/gio/ |
D | gnetworkmonitornetlink.c | 375 dest = RTA_DATA (attr); in read_netlink_messages() 377 gateway = RTA_DATA (attr); in read_netlink_messages() 379 oif = RTA_DATA (attr); in read_netlink_messages()
|
/third_party/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 116 memcpy(RTA_DATA(rta), &pid, sizeof(pid)); in main()
|
/third_party/ltp/testcases/lib/ |
D | tst_net_iface_prefix.c | 83 inet_ntop(family, RTA_DATA(retrta), pradd, in read_iface_prefix()
|
/third_party/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 190 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
|