Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c83 if (attrs->rta_type == NLMSGERR_ATTR_MSG) in nl_error()
86 if (attrs->rta_type == NLMSGERR_ATTR_OFFS) { in nl_error()
147 if (attrs->rta_type == MPTCP_ATTR_TOKEN) in capture_events()
149 else if (attrs->rta_type == MPTCP_ATTR_FAMILY) in capture_events()
151 else if (attrs->rta_type == MPTCP_ATTR_LOC_ID) in capture_events()
153 else if (attrs->rta_type == MPTCP_ATTR_REM_ID) in capture_events()
155 else if (attrs->rta_type == MPTCP_ATTR_SADDR4) { in capture_events()
161 } else if (attrs->rta_type == MPTCP_ATTR_SADDR6) { in capture_events()
167 } else if (attrs->rta_type == MPTCP_ATTR_DADDR4) { in capture_events()
173 } else if (attrs->rta_type == MPTCP_ATTR_DADDR6) { in capture_events()
[all …]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c66 unsigned short rta_type, const void *payload, size_t size) in rtattr_pack() argument
79 attr->rta_type = rta_type; in rtattr_pack()
86 unsigned short rta_type, const void *payload, size_t size) in _rtattr_begin() argument
90 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
97 unsigned short rta_type) in rtattr_begin() argument
99 return _rtattr_begin(nh, req_sz, rta_type, 0, 0); in rtattr_begin()
/linux/crypto/
H A Dalgboss.c127 param->attrs[i].attr.rta_type = CRYPTOA_ALG; in cryptomgr_schedule_probe()
146 param->type.attr.rta_type = CRYPTOA_TYPE; in cryptomgr_schedule_probe()
H A Dalgapi.c822 if (rta->rta_type != CRYPTOA_TYPE) in crypto_get_attr_type()
871 if (rta->rta_type != CRYPTOA_ALG) in crypto_attr_alg_name()
H A Dauthenc.c54 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in crypto_authenc_extractkeys()
/linux/tools/testing/selftests/net/
H A Dipsec.c216 unsigned short rta_type, const void *payload, size_t size) in rtattr_pack() argument
229 attr->rta_type = rta_type; in rtattr_pack()
236 unsigned short rta_type, const void *payload, size_t size) in _rtattr_begin() argument
240 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
247 unsigned short rta_type) in rtattr_begin() argument
249 return _rtattr_begin(nh, req_sz, rta_type, 0, 0); in rtattr_begin()
1681 if (attr->rta_type == XFRMA_SPD_IPV4_HTHRESH) { in xfrm_spdinfo_attrs()
1691 if (attr->rta_type == XFRMA_SPD_IPV6_HTHRESH) { in xfrm_spdinfo_attrs()
H A Dtun.c91 rta->rta_type = IFLA_IFNAME; in tun_delete()
H A Dtap.c38 rta->rta_type = type; in rtattr_add()
/linux/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c128 ASSERT_EQ(attr->rta_type, UNIX_DIAG_UID); in render_response()
/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c127 switch (rt_attr->rta_type) { in read_route()
339 switch (rt_attr->rta_type) { in read_arp()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c176 rta->rta_type = type; in rtattr_add()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c324 rta->rta_type = type; in addattr_l()
H A Dxsk.c410 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
/linux/net/ipv6/
H A Desp6.c1137 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
/linux/net/ipv4/
H A Desp4.c1100 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
/linux/drivers/md/
H A Ddm-crypt.c2467 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in crypt_copy_authenckey()