Home
last modified time | relevance | path

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

/linux/net/decnet/
A Ddn_table.c321 rtm->rtm_protocol = fi->fib_protocol; in dn_fib_dump_info()
713 (!r->rtm_protocol || in dn_fib_table_delete()
714 fi->fib_protocol == r->rtm_protocol) && in dn_fib_table_delete()
A Ddn_fib.c289 fi->fib_protocol = r->rtm_protocol; in dn_fib_create_info()
607 req.rtm.rtm_protocol = RTPROT_KERNEL; in fib_magic()
A Ddn_route.c1567 r->rtm_protocol = RTPROT_UNSPEC; in dn_rt_fill_info()
/linux/net/mpls/
A Daf_mpls.c1863 cfg->rc_protocol = rtm->rtm_protocol; in rtm_to_route_config()
2001 rtm->rtm_protocol = rt->rt_protocol; in mpls_dump_route()
2124 if (rtm->rtm_protocol) { in mpls_valid_fib_dump_req()
2125 filter->protocol = rtm->rtm_protocol; in mpls_valid_fib_dump_req()
2316 rtm->rtm_protocol || rtm->rtm_scope || rtm->rtm_type) { in mpls_valid_getroute_req()
2483 r->rtm_protocol = rt->rt_protocol; in mpls_getroute()
/linux/net/ipv4/
A Dipmr.c2319 rtm->rtm_protocol = RTPROT_STATIC; in ipmr_fill_mroute()
2321 rtm->rtm_protocol = RTPROT_MROUTED; in ipmr_fill_mroute()
2480 rtm->rtm_tos || rtm->rtm_table || rtm->rtm_protocol || in ipmr_rtm_valid_getroute_req()
2612 static bool ipmr_rtm_validate_proto(unsigned char rtm_protocol) in ipmr_rtm_validate_proto() argument
2614 switch (rtm_protocol) { in ipmr_rtm_validate_proto()
2660 !ipmr_rtm_validate_proto(rtm->rtm_protocol)) in rtm_to_ipmr_mfcc()
2701 *mrtsock = rtm->rtm_protocol == RTPROT_MROUTED ? 1 : 0; in rtm_to_ipmr_mfcc()
A Dfib_frontend.c741 cfg->fc_protocol = rtm->rtm_protocol; in rtm_to_fib_config()
926 filter->protocol = rtm->rtm_protocol; in ip_valid_fib_dump_req()
A Droute.c2940 r->rtm_protocol = RTPROT_UNSPEC; in rt_fill_info()
3209 rtm->rtm_table || rtm->rtm_protocol || in inet_rtm_valid_getroute_req()
A Dfib_semantics.c1800 rtm->rtm_protocol = fi->fib_protocol; in fib_dump_info()
/linux/net/phonet/
A Dpn_netlink.c176 rtm->rtm_protocol = RTPROT_STATIC; in fill_route()
/linux/include/uapi/linux/
A Drtnetlink.h235 unsigned char rtm_protocol; /* Routing protocol; see below */ member
/linux/tools/testing/selftests/net/
A Dudpgso.c388 rt->rtm_protocol = RTPROT_BOOT; in set_route_mtu()
A Dipsec.c405 req.rt.rtm_protocol = RTPROT_BOOT; in ip4_route_set()
/linux/net/ipv6/
A Dip6mr.c2348 rtm->rtm_protocol = RTPROT_STATIC; in ip6mr_fill_mroute()
2350 rtm->rtm_protocol = RTPROT_MROUTED; in ip6mr_fill_mroute()
A Droute.c5031 .fc_protocol = rtm->rtm_protocol, in rtm_to_fib6_config()
5653 rtm->rtm_protocol = rt->fib6_protocol; in rt6_fill_node()
5978 rtm->rtm_table || rtm->rtm_protocol || rtm->rtm_scope || in inet6_rtm_valid_getroute_req()
/linux/net/mctp/
A Droute.c1224 hdr->rtm_protocol = RTPROT_STATIC; /* everything is user-defined */ in mctp_fill_rtinfo()

Completed in 58 milliseconds