/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 83 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 D | netlink.c | 66 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 D | algboss.c | 127 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 D | algapi.c | 822 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 D | authenc.c | 54 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in crypto_authenc_extractkeys()
|
/linux/tools/testing/selftests/net/ |
H A D | ipsec.c | 216 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 D | tun.c | 91 rta->rta_type = IFLA_IFNAME; in tun_delete()
|
H A D | tap.c | 38 rta->rta_type = type; in rtattr_add()
|
/linux/tools/testing/selftests/net/af_unix/ |
H A D | diag_uid.c | 128 ASSERT_EQ(attr->rta_type, UNIX_DIAG_UID); in render_response()
|
/linux/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 127 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 D | xfrm_info.c | 176 rta->rta_type = type; in rtattr_add()
|
/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 324 rta->rta_type = type; in addattr_l()
|
H A D | xsk.c | 410 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
|
/linux/net/ipv6/ |
H A D | esp6.c | 1137 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
|
/linux/net/ipv4/ |
H A D | esp4.c | 1100 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 2467 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in crypt_copy_authenckey()
|