Searched refs:rtm_protocol (Results 1 – 8 of 8) sorted by relevance
177 if ((filter.protocol^r->rtm_protocol)&filter.protocolmask) in filter_nlmsg()438 if ((r->rtm_protocol != RTPROT_BOOT || show_details > 0) && filter.protocolmask != -1) in print_route()439 fprintf(fp, " proto %s ", rtnl_rtprot_n2a(r->rtm_protocol, b1, sizeof(b1))); in print_route()847 req.r.rtm_protocol = RTPROT_BOOT; in iproute_modify()1096 req.r.rtm_protocol = prot; in iproute_modify()1599 req.r.rtm_protocol = 0; in iproute_get()
349 req.r.rtm_protocol = RTPROT_BOOT; in iprule_modify()
1352 nlm.rt.rtm_protocol = RTPROT_KERNEL; in if_route()1354 nlm.rt.rtm_protocol = RTPROT_BOOT; in if_route()1369 if (nlm.rt.rtm_protocol == RTPROT_KERNEL) { in if_route()1551 nlm.rt.rtm_protocol = RTPROT_KERNEL; in if_route6()1554 nlm.rt.rtm_protocol = RTPROT_BOOT; in if_route6()
159 unsigned char rtm_protocol; /* Routing protocol; see below */ member
189 unsigned char rtm_protocol; /* Routing protocol; see below */ member
938 route->rt_protocol = rtm->rtm_protocol; in rtnl_route_parse()1087 .rtm_protocol = route->rt_protocol, in rtnl_route_build_msg()
1490 if (gfilter.proto && (msg->rtm_protocol != gfilter.proto)) return 0; in display_route_info()1919 req.msg.rtm_protocol = RTPROT_BOOT; in route_update()1953 req.msg.rtm_protocol = idx; in route_update()2093 request.msg.rtm_protocol = RTPROT_BOOT; in ruleupdate()