Home
last modified time | relevance | path

Searched refs:rtm_dst_len (Results 1 – 14 of 14) sorted by relevance

/openbmc/phosphor-networkd/src/
H A Drtnetlink.cpp120 if (rtm.rtm_table != RT_TABLE_MAIN || rtm.rtm_dst_len != 0) in gatewayFromRtm()
/openbmc/linux/net/mpls/
H A Daf_mpls.c1813 if (rtm->rtm_dst_len != 20) { in rtm_to_route_config()
1986 rtm->rtm_dst_len = 20; in mpls_dump_route()
2106 if (rtm->rtm_dst_len || rtm->rtm_src_len || rtm->rtm_tos || in mpls_valid_fib_dump_req()
2303 if ((rtm->rtm_dst_len && rtm->rtm_dst_len != 20) || in mpls_valid_getroute_req()
2320 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req()
2467 r->rtm_dst_len = 20; in mpls_getroute()
/openbmc/linux/net/phonet/
H A Dpn_netlink.c172 rtm->rtm_dst_len = 6; in fill_route()
/openbmc/linux/net/mctp/
H A Droute.c1271 rc = mctp_route_add(mdev, daddr_start, rtm->rtm_dst_len, mtu, in mctp_newroute()
1294 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()
1315 hdr->rtm_dst_len = rt->max - rt->min; in mctp_fill_rtinfo()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h239 unsigned char rtm_dst_len; member
/openbmc/linux/net/ipv4/
H A Dipmr.c2328 rtm->rtm_dst_len = 32; in ipmr_fill_mroute()
2497 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in ipmr_rtm_valid_getroute_req()
2510 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req()
2675 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
H A Dfib_frontend.c753 cfg->fc_dst_len = rtm->rtm_dst_len; in rtm_to_fib_config()
927 if (rtm->rtm_dst_len || rtm->rtm_src_len || rtm->rtm_tos || in ip_valid_fib_dump_req()
H A Droute.c2949 r->rtm_dst_len = 32; in rt_fill_info()
3225 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in inet_rtm_valid_getroute_req()
3245 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req()
H A Dfib_semantics.c1794 rtm->rtm_dst_len = fri->dst_len; in fib_dump_info()
1808 if (rtm->rtm_dst_len && in fib_dump_info()
/openbmc/linux/net/ipv6/
H A Dip6mr.c2357 rtm->rtm_dst_len = 128; in ip6mr_fill_mroute()
2527 (rtm->rtm_dst_len && rtm->rtm_dst_len != 128) || in ip6mr_rtm_valid_getroute_req()
2536 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ip6mr_rtm_valid_getroute_req()
H A Droute.c5026 .fc_dst_len = rtm->rtm_dst_len, in rtm_to_fib6_config()
5071 int plen = (rtm->rtm_dst_len + 7) >> 3; in rtm_to_fib6_config()
5631 rtm->rtm_dst_len = rt6_dst->plen; in rt6_fill_node()
5653 rtm->rtm_dst_len = 128; in rt6_fill_node()
5654 } else if (rtm->rtm_dst_len) in rt6_fill_node()
5969 (rtm->rtm_dst_len && rtm->rtm_dst_len != 128) || in inet6_rtm_valid_getroute_req()
5987 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet6_rtm_valid_getroute_req()
/openbmc/linux/tools/testing/selftests/net/
H A Dudpgso.c387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
H A Dipsec.c441 req.rt.rtm_dst_len = 32; in ip4_route_set()
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c147 sprintf(dsts_len, "%d", rt_msg->rtm_dst_len); in read_route()