Home
last modified time | relevance | path

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

/Linux-v5.10/net/decnet/
Ddn_table.c314 rtm->rtm_dst_len = dst_len; in dn_fib_dump_info()
326 if (rtm->rtm_dst_len && in dn_fib_dump_info()
536 int z = r->rtm_dst_len; in dn_fib_table_insert()
671 int z = r->rtm_dst_len; in dn_fib_table_delete()
Ddn_fib.c606 req.rtm.rtm_dst_len = dst_len; in fib_magic()
Ddn_route.c1561 r->rtm_dst_len = 16; in dn_rt_fill_info()
/Linux-v5.10/net/mpls/
Daf_mpls.c1792 if (rtm->rtm_dst_len != 20) { in rtm_to_route_config()
1965 rtm->rtm_dst_len = 20; in mpls_dump_route()
2085 if (rtm->rtm_dst_len || rtm->rtm_src_len || rtm->rtm_tos || in mpls_valid_fib_dump_req()
2286 if ((rtm->rtm_dst_len && rtm->rtm_dst_len != 20) || in mpls_valid_getroute_req()
2303 if ((tb[RTA_DST] || tb[RTA_NEWDST]) && !rtm->rtm_dst_len) { in mpls_valid_getroute_req()
2450 r->rtm_dst_len = 20; in mpls_getroute()
/Linux-v5.10/net/phonet/
Dpn_netlink.c172 rtm->rtm_dst_len = 6; in fill_route()
/Linux-v5.10/include/uapi/linux/
Drtnetlink.h223 unsigned char rtm_dst_len; member
/Linux-v5.10/net/ipv4/
Dipmr.c2310 rtm->rtm_dst_len = 32; in ipmr_fill_mroute()
2479 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in ipmr_rtm_valid_getroute_req()
2492 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in ipmr_rtm_valid_getroute_req()
2657 if (rtm->rtm_family != RTNL_FAMILY_IPMR || rtm->rtm_dst_len != 32 || in rtm_to_ipmr_mfcc()
Dfib_frontend.c736 cfg->fc_dst_len = rtm->rtm_dst_len; in rtm_to_fib_config()
908 if (rtm->rtm_dst_len || rtm->rtm_src_len || rtm->rtm_tos || in ip_valid_fib_dump_req()
Droute.c2850 r->rtm_dst_len = 32; in rt_fill_info()
3123 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in inet_rtm_valid_getroute_req()
3143 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet_rtm_valid_getroute_req()
Dfib_semantics.c1751 rtm->rtm_dst_len = fri->dst_len; in fib_dump_info()
1765 if (rtm->rtm_dst_len && in fib_dump_info()
/Linux-v5.10/tools/testing/selftests/net/
Dudpgso.c387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
Dipsec.c403 req.rt.rtm_dst_len = 32; in ip4_route_set()
/Linux-v5.10/samples/bpf/
Dxdp_router_ipv4_user.c189 sprintf(dsts_len, "%d", rt_msg->rtm_dst_len); in read_route()
/Linux-v5.10/net/ipv6/
Droute.c4901 .fc_dst_len = rtm->rtm_dst_len, in rtm_to_fib6_config()
4946 int plen = (rtm->rtm_dst_len + 7) >> 3; in rtm_to_fib6_config()
5482 rtm->rtm_dst_len = rt6_dst->plen; in rt6_fill_node()
5504 rtm->rtm_dst_len = 128; in rt6_fill_node()
5505 } else if (rtm->rtm_dst_len) in rt6_fill_node()
5813 (rtm->rtm_dst_len && rtm->rtm_dst_len != 128) || in inet6_rtm_valid_getroute_req()
5831 (tb[RTA_DST] && !rtm->rtm_dst_len)) { in inet6_rtm_valid_getroute_req()
Dip6mr.c2340 rtm->rtm_dst_len = 128; in ip6mr_fill_mroute()