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.c86 if (attrs->rta_type == NLMSGERR_ATTR_MSG) in nl_error()
89 if (attrs->rta_type == NLMSGERR_ATTR_OFFS) { in nl_error()
152 if (attrs->rta_type == MPTCP_ATTR_TOKEN) in capture_events()
154 else if (attrs->rta_type == MPTCP_ATTR_FAMILY) in capture_events()
156 else if (attrs->rta_type == MPTCP_ATTR_LOC_ID) in capture_events()
158 else if (attrs->rta_type == MPTCP_ATTR_REM_ID) in capture_events()
160 else if (attrs->rta_type == MPTCP_ATTR_SADDR4) { in capture_events()
166 } else if (attrs->rta_type == MPTCP_ATTR_SADDR6) { in capture_events()
172 } else if (attrs->rta_type == MPTCP_ATTR_DADDR4) { in capture_events()
178 } else if (attrs->rta_type == MPTCP_ATTR_DADDR6) { in capture_events()
[all …]
H A Dmptcp_diag.c134 rta_proto.rta_type = INET_DIAG_REQ_PROTOCOL; in send_query()
166 type = rta->rta_type & ~flags; in parse_rtattr_flags()
/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 Dauthenc.c52 if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) in crypto_authenc_extractkeys()
/linux/tools/testing/selftests/net/
H A Dipsec.c220 unsigned short rta_type, const void *payload, size_t size) in rtattr_pack()
233 attr->rta_type = rta_type; in rtattr_pack()
241 unsigned short rta_type, const void *payload, size_t size) in _rtattr_begin()
245 if (rtattr_pack(nh, req_sz, rta_type, payload, size)) in _rtattr_begin()
252 unsigned short rta_type)
254 return _rtattr_begin(nh, req_sz, rta_type, 0, 0); in rtattr_end()
1689 if (attr->rta_type == XFRMA_SPD_IPV4_HTHRESH) { in xfrm_spdinfo_attrs()
1699 if (attr->rta_type == XFRMA_SPD_IPV6_HTHRESH) { in xfrm_spdinfo_attrs()
216 rtattr_pack(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type,const void * payload,size_t size) rtattr_pack() argument
237 _rtattr_begin(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type,const void * payload,size_t size) _rtattr_begin() argument
248 rtattr_begin(struct nlmsghdr * nh,size_t req_sz,unsigned short rta_type) rtattr_begin() argument
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/include/uapi/linux/
H A Drtnetlink.h221 unsigned short rta_type; member
/linux/tools/include/uapi/linux/
H A Drtnetlink.h221 unsigned short rta_type; member
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c1075 rta->rta_type = type; in ovpn_addattr()
/linux/drivers/md/
H A Ddm-crypt.c2416 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in crypt_copy_authenckey()