Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A 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/samples/bpf/
H A 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/tools/testing/selftests/net/
H A 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()
H A Dtun.c94 memcpy(RTA_DATA(rta), dev, IFNAMSIZ); in tun_delete()
H A 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/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c187 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
/linux/crypto/
H A Dalgapi.c831 algt = RTA_DATA(rta); in crypto_get_attr_type()
880 alga = RTA_DATA(rta); in crypto_attr_alg_name()
H A Dauthenc.c67 param = RTA_DATA(rta); in crypto_authenc_extractkeys()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c327 memcpy(RTA_DATA(rta), data, alen); in addattr_l()
H A Dxsk.c413 memcpy(RTA_DATA(rta), &mtu, sizeof(mtu)); in xsk_set_mtu()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c80 memcpy(RTA_DATA(attr), payload, size); in rtattr_pack()
/linux/include/uapi/linux/
H A Drtnetlink.h227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
/linux/net/ipv6/
H A Desp6.c1139 param = RTA_DATA(rta); in esp_init_authenc()
/linux/net/ipv4/
H A Desp4.c1102 param = RTA_DATA(rta); in esp_init_authenc()
/linux/drivers/md/
H A Ddm-crypt.c2464 param = RTA_DATA(rta); in crypt_copy_authenckey()