Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c330 rta->rta_type = CTRL_ATTR_FAMILY_NAME; in resolve_mptcp_pm_netlink()
401 addr->rta_type = NLA_F_NESTED | in dsf()
441 rta->rta_type = MPTCP_PM_ATTR_TOKEN; in dsf()
515 addr->rta_type = NLA_F_NESTED | in csf()
567 rta->rta_type = MPTCP_PM_ATTR_TOKEN; in csf()
614 rta->rta_type = MPTCP_PM_ATTR_TOKEN; in remove_addr()
743 rta->rta_type = MPTCP_PM_ATTR_TOKEN; in announce_addr()
918 rta->rta_type = MPTCP_PM_ADDR_ATTR_ID; in del_addr()
1066 if (attrs->rta_type == in print_addrs()
1173 int type = attrs->rta_type; in print_limits()
[all …]
/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp22 switch (hdr.rta_type) in parseVlanInfo()
37 switch (hdr.rta_type) in parseLinkInfo()
64 switch (hdr.rta_type) in intfFromRtm()
99 switch (hdr.rta_type) in parse()
143 if (hdr.rta_type == IFA_ADDRESS) in addrFromRtm()
147 else if (hdr.rta_type == IFA_FLAGS) in addrFromRtm()
172 if (hdr.rta_type == NDA_LLADDR) in neighFromRtm()
176 else if (hdr.rta_type == NDA_DST) in neighFromRtm()
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp50 msg.addr_hdr.rta_type = IFLA_ADDRESS; in TEST()
52 msg.name_hdr.rta_type = IFLA_IFNAME; in TEST()
54 msg.mtu_hdr.rta_type = IFLA_MTU; in TEST()
91 msg.addr_hdr.rta_type = IFA_ADDRESS; in TEST()
112 msg.flags_hdr.rta_type = IFA_FLAGS; in TEST()
114 msg.addr_hdr.rta_type = IFA_ADDRESS; in TEST()
141 msg.addr_hdr.rta_type = NDA_DST; in TEST()
161 msg.addr_hdr.rta_type = NDA_DST; in TEST()
163 msg.mac_hdr.rta_type = NDA_LLADDR; in TEST()
H A Dmock_syscall.cpp84 rta.rta_type = type; in appendRTAttr()
/openbmc/qemu/linux-user/
H A Dfd-trans.c465 rtattr->rta_type = tswap16(rtattr->rta_type); in host_to_target_for_each_rtattr()
993 switch (rtattr->rta_type) { in host_to_target_data_link_rtattr()
1128 rtattr->rta_type); in host_to_target_data_link_rtattr()
1139 switch (rtattr->rta_type) { in host_to_target_data_addr_rtattr()
1174 switch (rtattr->rta_type) { in host_to_target_data_route_rtattr()
1344 rtattr->rta_type = tswap16(rtattr->rta_type); in target_to_host_for_each_rtattr()
1391 rtattr->rta_type); in target_to_host_data_link_rtattr()
1399 switch (rtattr->rta_type) { in target_to_host_data_addr_rtattr()
1406 rtattr->rta_type); in target_to_host_data_addr_rtattr()
1415 switch (rtattr->rta_type) { in target_to_host_data_route_rtattr()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_netlink-invalid-arg.patch17 switch(a->rta_type) {
/openbmc/linux/crypto/
H A Dalgboss.c125 param->attrs[i].attr.rta_type = CRYPTOA_ALG; in cryptomgr_schedule_probe()
147 param->type.attr.rta_type = CRYPTOA_TYPE; in cryptomgr_schedule_probe()
H A Dalgapi.c868 if (rta->rta_type != CRYPTOA_TYPE) in crypto_get_attr_type()
917 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c394 rta->rta_type = RTA_DST; in set_route_mtu()
403 rta->rta_type = RTA_OIF; in set_route_mtu()
410 rta->rta_type = RTA_METRICS; in set_route_mtu()
416 rta->rta_type = RTAX_MTU; in set_route_mtu()
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()
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Ddiag_uid.c128 ASSERT_EQ(attr->rta_type, UNIX_DIAG_UID); in render_response()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c176 rta->rta_type = type; in rtattr_add()
/openbmc/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()
/openbmc/inarp/
H A Dinarp.c310 switch (attr->rta_type) { in netlink_nlmsg_newlink()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h213 unsigned short rta_type; member
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxsk.c407 rta->rta_type = IFLA_MTU; in xsk_set_mtu()
/openbmc/linux/net/ipv6/
H A Desp6.c1144 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
/openbmc/linux/net/ipv4/
H A Desp4.c1101 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in esp_init_authenc()
/openbmc/linux/drivers/md/
H A Ddm-crypt.c2439 rta->rta_type = CRYPTO_AUTHENC_KEYA_PARAM; in crypt_copy_authenckey()