Home
last modified time | relevance | path

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

/linux-6.6.21/net/mpls/
Daf_mpls.c1829 if (rtm->rtm_dst_len != 20) { in rtm_to_route_config()
2002 rtm->rtm_dst_len = 20; in mpls_dump_route()
2122 if (rtm->rtm_dst_len || rtm->rtm_src_len || rtm->rtm_tos || in mpls_valid_fib_dump_req()
2319 if ((rtm->rtm_dst_len && rtm->rtm_dst_len != 20) || in mpls_valid_getroute_req()
2336 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req()
2483 r->rtm_dst_len = 20; in mpls_getroute()
/linux-6.6.21/net/phonet/
Dpn_netlink.c172 rtm->rtm_dst_len = 6; in fill_route()
/linux-6.6.21/net/mctp/
Droute.c1268 rc = mctp_route_add(mdev, daddr_start, rtm->rtm_dst_len, mtu, in mctp_newroute()
1291 rc = mctp_route_remove(mdev, daddr_start, rtm->rtm_dst_len, RTN_UNICAST); in mctp_delroute()
1312 hdr->rtm_dst_len = rt->max - rt->min; in mctp_fill_rtinfo()
/linux-6.6.21/include/uapi/linux/
Drtnetlink.h239 unsigned char rtm_dst_len; member
/linux-6.6.21/net/ipv4/
Dipmr.c2326 rtm->rtm_dst_len = 32; in ipmr_fill_mroute()
2495 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in ipmr_rtm_valid_getroute_req()
2508 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req()
2673 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
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()
Droute.c2954 r->rtm_dst_len = 32; in rt_fill_info()
3230 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in inet_rtm_valid_getroute_req()
3250 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req()
Dfib_semantics.c1795 rtm->rtm_dst_len = fri->dst_len; in fib_dump_info()
1809 if (rtm->rtm_dst_len && in fib_dump_info()
/linux-6.6.21/net/ipv6/
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()
Droute.c5019 .fc_dst_len = rtm->rtm_dst_len, in rtm_to_fib6_config()
5064 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()
/linux-6.6.21/tools/testing/selftests/net/
Dudpgso.c387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
Dipsec.c441 req.rt.rtm_dst_len = 32; in ip4_route_set()
/linux-6.6.21/samples/bpf/
Dxdp_router_ipv4_user.c147 sprintf(dsts_len, "%d", rt_msg->rtm_dst_len); in read_route()