Searched refs:RTA_DATA (Results 1 – 16 of 16) sorted by relevance
/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 85 (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 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/tools/testing/selftests/net/ |
H A 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()
|
H A D | tun.c | 94 memcpy(RTA_DATA(rta), dev, IFNAMSIZ); in tun_delete()
|
H A 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/tools/testing/selftests/net/af_unix/ |
H A D | diag_uid.c | 130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xfrm_info.c | 187 memcpy(RTA_DATA(rta), s, strlen(s)); in rtattr_add_str()
|
/linux/crypto/ |
H A D | algapi.c | 831 algt = RTA_DATA(rta); in crypto_get_attr_type() 880 alga = RTA_DATA(rta); in crypto_attr_alg_name()
|
H A D | authenc.c | 67 param = RTA_DATA(rta); in crypto_authenc_extractkeys()
|
/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 327 memcpy(RTA_DATA(rta), data, alen); in addattr_l()
|
H A D | xsk.c | 413 memcpy(RTA_DATA(rta), &mtu, sizeof(mtu)); in xsk_set_mtu()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | netlink.c | 80 memcpy(RTA_DATA(attr), payload, size); in rtattr_pack()
|
/linux/include/uapi/linux/ |
H A D | rtnetlink.h | 227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0))) macro
|
/linux/net/ipv6/ |
H A D | esp6.c | 1139 param = RTA_DATA(rta); in esp_init_authenc()
|
/linux/net/ipv4/ |
H A D | esp4.c | 1102 param = RTA_DATA(rta); in esp_init_authenc()
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 2464 param = RTA_DATA(rta); in crypt_copy_authenckey()
|