Searched refs:RTA_DATA (Results 1 – 17 of 17) sorted by relevance
/linux-6.6.21/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 91 (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/ |
D | xdp_router_ipv4_user.c | 130 (*((__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/ |
D | udpgso.c | 397 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()
|
D | tap.c | 61 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()
|
D | tun.c | 94 memcpy(RTA_DATA(rta), dev, IFNAMSIZ); in tun_delete()
|
D | ipsec.c | 230 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/ |
D | diag_uid.c | 130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | xfrm_info.c | 187 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
|
/linux-6.6.21/crypto/ |
D | algapi.c | 871 algt = RTA_DATA(rta); in crypto_get_attr_type() 920 alga = RTA_DATA(rta); in crypto_attr_alg_name()
|
D | authenc.c | 67 param = RTA_DATA(rta); in crypto_authenc_extractkeys()
|
/linux-6.6.21/include/uapi/linux/ |
D | rtnetlink.h | 227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xsk.c | 410 memcpy(RTA_DATA(rta), &mtu, sizeof(mtu)); in xsk_set_mtu()
|
/linux-6.6.21/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 856 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/ |
D | otx2_cptvf_algs.c | 910 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/ |
D | esp4.c | 1104 param = RTA_DATA(rta); in esp_init_authenc()
|
/linux-6.6.21/net/ipv6/ |
D | esp6.c | 1147 param = RTA_DATA(rta); in esp_init_authenc()
|
/linux-6.6.21/drivers/md/ |
D | dm-crypt.c | 2436 param = RTA_DATA(rta); in crypt_copy_authenckey()
|