Searched refs:rtm_type (Results 1 – 13 of 13) sorted by relevance
/external/iproute2/ip/ |
D | iprule.c | 184 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()
|
D | iproute.c | 148 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/ |
D | if-bsd.c | 227 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()
|
D | if-linux.c | 248 if (rtm->rtm_type != RTN_UNICAST || in link_route() 574 nlm->rt.rtm_type = RTN_UNICAST; in if_route()
|
/external/toybox/toys/pending/ |
D | ip.c | 1485 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/ |
D | rule.c | 102 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()
|
D | route_obj.c | 936 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/ |
D | grabmyaddr.c | 665 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/ |
D | netlink.c | 280 if (rtm->rtm_type != RTN_UNICAST || rtm->rtm_scope != RT_SCOPE_LINK) in nl_routechange()
|
/external/libnl/include/linux/ |
D | rtnetlink.h | 161 unsigned char rtm_type; /* See below */ member
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 172 unsigned char rtm_type; /* See below */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 184 unsigned char rtm_type; /* See below */ member
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 757 switch (rtm->rtm_type) { in bsd_wireless_event_receive() 1213 switch (rtm->rtm_type) { in wpa_driver_bsd_event_receive()
|