Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c85 (char *)RTA_DATA(attrs)); in nl_error()
87 memcpy(&off, RTA_DATA(attrs), 4); in nl_error()
148 fprintf(stderr, ",token:%u", *(__u32 *)RTA_DATA(attrs)); in capture_events()
150 fprintf(stderr, ",family:%u", *(__u16 *)RTA_DATA(attrs)); in capture_events()
152 fprintf(stderr, ",loc_id:%u", *(__u8 *)RTA_DATA(attrs)); in capture_events()
154 fprintf(stderr, ",rem_id:%u", *(__u8 *)RTA_DATA(attrs)); in capture_events()
156 u_int32_t saddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events()
164 if (inet_ntop(AF_INET6, RTA_DATA(attrs), buf, in capture_events()
168 u_int32_t daddr4 = ntohl(*(__u32 *)RTA_DATA(attrs)); in capture_events()
176 if (inet_ntop(AF_INET6, RTA_DATA(attrs), buf, in capture_events()
[all …]
/linux-6.12.1/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.12.1/tools/testing/selftests/net/
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.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c187 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
/linux-6.12.1/crypto/
Dalgapi.c831 algt = RTA_DATA(rta); in crypto_get_attr_type()
880 alga = RTA_DATA(rta); in crypto_attr_alg_name()
Dauthenc.c67 param = RTA_DATA(rta); in crypto_authenc_extractkeys()
/linux-6.12.1/tools/testing/selftests/bpf/
Dnetlink_helpers.c327 memcpy(RTA_DATA(rta), data, alen); in addattr_l()
Dxsk.c413 memcpy(RTA_DATA(rta), &mtu, sizeof(mtu)); in xsk_set_mtu()
/linux-6.12.1/include/uapi/linux/
Drtnetlink.h227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c80 memcpy(RTA_DATA(attr), payload, size); in rtattr_pack()
/linux-6.12.1/net/ipv6/
Desp6.c1139 param = RTA_DATA(rta); in esp_init_authenc()
/linux-6.12.1/net/ipv4/
Desp4.c1102 param = RTA_DATA(rta); in esp_init_authenc()
/linux-6.12.1/drivers/md/
Ddm-crypt.c2464 param = RTA_DATA(rta); in crypt_copy_authenckey()