Home
last modified time | relevance | path

Searched refs:rtm_protocol (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/net/mpls/
Daf_mpls.c1862 cfg->rc_protocol = rtm->rtm_protocol; in rtm_to_route_config()
2000 rtm->rtm_protocol = rt->rt_protocol; in mpls_dump_route()
2123 if (rtm->rtm_protocol) { in mpls_valid_fib_dump_req()
2124 filter->protocol = rtm->rtm_protocol; in mpls_valid_fib_dump_req()
2315 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2482 r->rtm_protocol = rt->rt_protocol; in mpls_getroute()
/linux-6.1.9/net/phonet/
Dpn_netlink.c176 rtm->rtm_protocol = RTPROT_STATIC; in fill_route()
/linux-6.1.9/net/ipv4/
Dipmr.c2322 rtm->rtm_protocol = RTPROT_STATIC; in ipmr_fill_mroute()
2324 rtm->rtm_protocol = RTPROT_MROUTED; in ipmr_fill_mroute()
2483 rtm->rtm_tos || rtm->rtm_table || rtm->rtm_protocol || in ipmr_rtm_valid_getroute_req()
2615 static bool ipmr_rtm_validate_proto(unsigned char rtm_protocol) in ipmr_rtm_validate_proto() argument
2617 switch (rtm_protocol) { in ipmr_rtm_validate_proto()
2663 !ipmr_rtm_validate_proto(rtm->rtm_protocol)) in rtm_to_ipmr_mfcc()
2704 *mrtsock = rtm->rtm_protocol == RTPROT_MROUTED ? 1 : 0; in rtm_to_ipmr_mfcc()
Dfib_frontend.c752 cfg->fc_protocol = rtm->rtm_protocol; in rtm_to_fib_config()
940 filter->protocol = rtm->rtm_protocol; in ip_valid_fib_dump_req()
Droute.c2963 r->rtm_protocol = RTPROT_UNSPEC; in rt_fill_info()
3232 rtm->rtm_table || rtm->rtm_protocol || in inet_rtm_valid_getroute_req()
Dfib_semantics.c1800 rtm->rtm_protocol = fi->fib_protocol; in fib_dump_info()
/linux-6.1.9/include/uapi/linux/
Drtnetlink.h244 unsigned char rtm_protocol; /* Routing protocol; see below */ member
/linux-6.1.9/tools/testing/selftests/net/
Dudpgso.c388 rt->rtm_protocol = RTPROT_BOOT; in set_route_mtu()
Dipsec.c443 req.rt.rtm_protocol = RTPROT_BOOT; in ip4_route_set()
/linux-6.1.9/net/ipv6/
Dip6mr.c2376 rtm->rtm_protocol = RTPROT_STATIC; in ip6mr_fill_mroute()
2378 rtm->rtm_protocol = RTPROT_MROUTED; in ip6mr_fill_mroute()
2538 rtm->rtm_tos || rtm->rtm_table || rtm->rtm_protocol || in ip6mr_rtm_valid_getroute_req()
Droute.c5024 .fc_protocol = rtm->rtm_protocol, in rtm_to_fib6_config()
5646 rtm->rtm_protocol = rt->fib6_protocol; in rt6_fill_node()
5971 rtm->rtm_table || rtm->rtm_protocol || rtm->rtm_scope || in inet6_rtm_valid_getroute_req()
/linux-6.1.9/net/mctp/
Droute.c1303 hdr->rtm_protocol = RTPROT_STATIC; /* everything is user-defined */ in mctp_fill_rtinfo()