Home
last modified time | relevance | path

Searched refs:RTA_DATA (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c91 (char *)RTA_DATA(attrs)); in nl_error()
93 memcpy(&off, RTA_DATA(attrs), 4); in nl_error()
154 fprintf(stderr, ",token:%u", *(__u32 *)RTA_DATA(attrs)); in capture_events()
156 fprintf(stderr, ",family:%u", *(__u16 *)RTA_DATA(attrs)); in capture_events()
158 fprintf(stderr, ",loc_id:%u", *(__u8 *)RTA_DATA(attrs)); in capture_events()
160 fprintf(stderr, ",rem_id:%u", *(__u8 *)RTA_DATA(attrs)); in capture_events()
162 u_int32_t saddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events()
170 if (inet_ntop(AF_INET6, RTA_DATA(attrs), buf, in capture_events()
174 u_int32_t daddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events()
182 if (inet_ntop(AF_INET6, RTA_DATA(attrs), buf, in capture_events()
[all …]
/linux-6.6.21/samples/bpf/
Dxdp_router_ipv4_user.c130 (*((__be32 *)RTA_DATA(rt_attr)))); in read_route()
134 *((__be32 *)RTA_DATA(rt_attr))); in read_route()
138 *((int *)RTA_DATA(rt_attr))); in read_route()
142 *((int *)RTA_DATA(rt_attr))); in read_route()
342 *((__be32 *)RTA_DATA(rt_attr))); in read_arp()
346 *((__be64 *)RTA_DATA(rt_attr))); in read_arp()
/linux-6.6.21/tools/testing/selftests/net/
Dudpgso.c397 memcpy(RTA_DATA(rta), &addr4, alen); in set_route_mtu()
399 memcpy(RTA_DATA(rta), &addr6, alen); in set_route_mtu()
405 *((int *)(RTA_DATA(rta))) = 1; //if_nametoindex("lo"); in set_route_mtu()
418 *((int *)(RTA_DATA(rta))) = mtu; in set_route_mtu()
Dtap.c61 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
70 strcpy(RTA_DATA(rta), s); in rtattr_add_strsz()
79 memcpy(RTA_DATA(rta), arr, len); in rtattr_add_any()
Dtun.c94 memcpy(RTA_DATA(rta), dev, IFNAMSIZ); in tun_delete()
Dipsec.c230 memcpy(RTA_DATA(attr), payload, size); in rtattr_pack()
1682 struct xfrmu_spdhthresh *t = RTA_DATA(attr); in xfrm_spdinfo_attrs()
1692 struct xfrmu_spdhthresh *t = RTA_DATA(attr); in xfrm_spdinfo_attrs()
/linux-6.6.21/tools/testing/selftests/net/af_unix/
Ddiag_uid.c130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c187 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
/linux-6.6.21/crypto/
Dalgapi.c871 algt = RTA_DATA(rta); in crypto_get_attr_type()
920 alga = RTA_DATA(rta); in crypto_attr_alg_name()
Dauthenc.c67 param = RTA_DATA(rta); in crypto_authenc_extractkeys()
/linux-6.6.21/include/uapi/linux/
Drtnetlink.h227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
/linux-6.6.21/tools/testing/selftests/bpf/
Dxsk.c410 memcpy(RTA_DATA(rta), &mtu, sizeof(mtu)); in xsk_set_mtu()
/linux-6.6.21/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c856 param = RTA_DATA(rta); in otx_cpt_aead_cbc_aes_sha_setkey()
914 param = RTA_DATA(rta); in otx_cpt_aead_ecb_null_sha_setkey()
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c910 param = RTA_DATA(rta); in otx2_cpt_aead_cbc_aes_sha_setkey()
962 param = RTA_DATA(rta); in otx2_cpt_aead_ecb_null_sha_setkey()
/linux-6.6.21/net/ipv4/
Desp4.c1104 param = RTA_DATA(rta); in esp_init_authenc()
/linux-6.6.21/net/ipv6/
Desp6.c1147 param = RTA_DATA(rta); in esp_init_authenc()
/linux-6.6.21/drivers/md/
Ddm-crypt.c2436 param = RTA_DATA(rta); in crypt_copy_authenckey()