Searched refs:rtm_protocol (Results 1 – 12 of 12) sorted by relevance
1862 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()
176 rtm->rtm_protocol = RTPROT_STATIC; in fill_route()
2322 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() argument2617 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()
752 cfg->fc_protocol = rtm->rtm_protocol; in rtm_to_fib_config()940 filter->protocol = rtm->rtm_protocol; in ip_valid_fib_dump_req()
2963 r->rtm_protocol = RTPROT_UNSPEC; in rt_fill_info()3232 rtm->rtm_table || rtm->rtm_protocol || in inet_rtm_valid_getroute_req()
1800 rtm->rtm_protocol = fi->fib_protocol; in fib_dump_info()
244 unsigned char rtm_protocol; /* Routing protocol; see below */ member
388 rt->rtm_protocol = RTPROT_BOOT; in set_route_mtu()
443 req.rt.rtm_protocol = RTPROT_BOOT; in ip4_route_set()
2376 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()
5024 .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()
1303 hdr->rtm_protocol = RTPROT_STATIC; /* everything is user-defined */ in mctp_fill_rtinfo()