Searched refs:rtm_dst_len (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/net/mpls/ |
D | af_mpls.c | 1829 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/ |
D | pn_netlink.c | 172 rtm->rtm_dst_len = 6; in fill_route()
|
/linux-6.6.21/net/mctp/ |
D | route.c | 1268 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/ |
D | rtnetlink.h | 239 unsigned char rtm_dst_len; member
|
/linux-6.6.21/net/ipv4/ |
D | ipmr.c | 2326 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()
|
D | fib_frontend.c | 753 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()
|
D | route.c | 2954 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()
|
D | fib_semantics.c | 1795 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/ |
D | ip6mr.c | 2357 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()
|
D | route.c | 5019 .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/ |
D | udpgso.c | 387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
|
D | ipsec.c | 441 req.rt.rtm_dst_len = 32; in ip4_route_set()
|
/linux-6.6.21/samples/bpf/ |
D | xdp_router_ipv4_user.c | 147 sprintf(dsts_len, "%d", rt_msg->rtm_dst_len); in read_route()
|