Home
last modified time | relevance | path

Searched refs:rtm_type (Results 1 – 13 of 13) sorted by relevance

/external/iproute2/ip/
Diprule.c184 if (r->rtm_type == RTN_NAT) { in print_rule()
193 } else if (r->rtm_type == FR_ACT_GOTO) { in print_rule()
201 } else if (r->rtm_type == FR_ACT_NOP) in print_rule()
203 else if (r->rtm_type != RTN_UNICAST) in print_rule()
204 fprintf(fp, "%s", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); in print_rule()
255 req.r.rtm_type = RTN_UNSPEC; in iprule_modify()
260 req.r.rtm_type = RTN_UNICAST; in iprule_modify()
338 req.r.rtm_type = RTN_NAT; in iprule_modify()
365 req.r.rtm_type = type; in iprule_modify()
Diproute.c148 if (r->rtm_type != RTN_LOCAL) in filter_nlmsg()
151 if (r->rtm_type == RTN_LOCAL) in filter_nlmsg()
165 if ((filter.type^r->rtm_type)&filter.typemask) in filter_nlmsg()
258 r->rtm_type == RTN_UNREACHABLE && in filter_nlmsg()
332 if (r->rtm_type != RTN_UNICAST && !filter.type) in print_route()
333 fprintf(fp, "%s ", rtnl_rtntype_n2a(r->rtm_type, b1, sizeof(b1))); in print_route()
578 if (r->rtm_flags&RTM_F_CLONED && r->rtm_type == RTN_MULTICAST) { in print_route()
607 if (r->rtm_flags&RTM_F_CLONED && r->rtm_type == RTN_MULTICAST) { in print_route()
732 req.r.rtm_type = RTN_UNICAST; in iproute_modify()
949 req.r.rtm_type = type; in iproute_modify()
[all …]
/external/dhcpcd/
Dif-bsd.c227 rtm.hdr.rtm_type = RTM_CHANGE; in if_route()
229 rtm.hdr.rtm_type = RTM_ADD; in if_route()
231 rtm.hdr.rtm_type = RTM_DELETE; in if_route()
350 switch(rtm->rtm_type) { in manage_link()
422 if (rtm->rtm_type != RTM_CHGADDR) in manage_link()
438 handle_ifa(rtm->rtm_type, ifname, in manage_link()
Dif-linux.c248 if (rtm->rtm_type != RTN_UNICAST || in link_route()
574 nlm->rt.rtm_type = RTN_UNICAST; in if_route()
/external/toybox/toys/pending/
Dip.c1485 if (gfilter.tb == RT_TABLE_LOCAL && msg->rtm_type != RTN_LOCAL) in display_route_info()
1487 else if (gfilter.tb == RT_TABLE_MAIN && msg->rtm_type == RTN_LOCAL) in display_route_info()
1510 if (msg->rtm_type != RTN_UNICAST) in display_route_info()
1511 sprintf(out,"%s%s ", out,rtmtype_idx2str(msg->rtm_type)); in display_route_info()
1612 && msg->rtm_type == RTN_UNREACHABLE in display_route_info()
1925 req.msg.rtm_type = RTN_UNICAST; in route_update()
1983 req.msg.rtm_type = idx; in route_update()
2008 if (req.msg.rtm_type == RTN_LOCAL || req.msg.rtm_type == RTN_NAT) in route_update()
2010 else if (req.msg.rtm_type == RTN_BROADCAST||req.msg.rtm_type == RTN_MULTICAST in route_update()
2011 || req.msg.rtm_type == RTN_ANYCAST) in route_update()
[all …]
/external/libnl/lib/route/
Drule.c102 rule->r_type = r->rtm_type; in rule_msg_parser()
391 .rtm_type = RTN_UNSPEC in build_rule_msg()
395 rtm.rtm_type = RTN_UNICAST; in build_rule_msg()
407 rtm.rtm_type = tmpl->r_type; in build_rule_msg()
Droute_obj.c936 route->rt_type = rtm->rtm_type; in rtnl_route_parse()
1089 .rtm_type = route->rt_type, in rtnl_route_build_msg()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c665 switch (rtm->rtm_type) { in update_myaddrs()
676 "msg %d not interesting\n", rtm->rtm_type); in update_myaddrs()
683 rtm->rtm_type); in update_myaddrs()
/external/dnsmasq/src/
Dnetlink.c280 if (rtm->rtm_type != RTN_UNICAST || rtm->rtm_scope != RT_SCOPE_LINK) in nl_routechange()
/external/libnl/include/linux/
Drtnetlink.h161 unsigned char rtm_type; /* See below */ member
/external/iproute2/include/linux/
Drtnetlink.h172 unsigned char rtm_type; /* See below */ member
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h184 unsigned char rtm_type; /* See below */ member
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c757 switch (rtm->rtm_type) { in bsd_wireless_event_receive()
1213 switch (rtm->rtm_type) { in wpa_driver_bsd_event_receive()