Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diproute.c177 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()
Diprule.c349 req.r.rtm_protocol = RTPROT_BOOT; in iprule_modify()
/external/dhcpcd-6.8.2/
Dif-linux.c1352 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()
/external/libnl/include/linux/
Drtnetlink.h159 unsigned char rtm_protocol; /* Routing protocol; see below */ member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h189 unsigned char rtm_protocol; /* Routing protocol; see below */ member
/external/iproute2/include/linux/
Drtnetlink.h189 unsigned char rtm_protocol; /* Routing protocol; see below */ member
/external/libnl/lib/route/
Droute_obj.c938 route->rt_protocol = rtm->rtm_protocol; in rtnl_route_parse()
1087 .rtm_protocol = route->rt_protocol, in rtnl_route_build_msg()
/external/toybox/toys/pending/
Dip.c1490 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()