Searched refs:RTA_GATEWAY (Results 1 – 11 of 11) sorted by relevance
/external/iproute2/ip/ |
D | iprule.c | 197 if (tb[RTA_GATEWAY]) { in print_rule() 200 RTA_PAYLOAD(tb[RTA_GATEWAY]), in print_rule() 201 RTA_DATA(tb[RTA_GATEWAY]), in print_rule() 448 addattr32(&req.n, sizeof(req), RTA_GATEWAY, get_addr32(*argv)); in iprule_modify()
|
D | iproute.c | 224 if (tb[RTA_GATEWAY]) in filter_nlmsg() 225 memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8); in filter_nlmsg() 417 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) { in print_route() 420 RTA_PAYLOAD(tb[RTA_GATEWAY]), in print_route() 421 RTA_DATA(tb[RTA_GATEWAY]), in print_route() 653 if (tb[RTA_GATEWAY]) { in print_route() 656 RTA_PAYLOAD(tb[RTA_GATEWAY]), in print_route() 657 RTA_DATA(tb[RTA_GATEWAY]), in print_route() 745 rta_addattr_l(rta, 4096, RTA_GATEWAY, &addr.data, addr.bytelen); in parse_one_nh() 887 addattr_l(&req.n, sizeof(req), RTA_GATEWAY, &addr.data, addr.bytelen); in iproute_modify() [all …]
|
/external/libnl/lib/route/ |
D | route_obj.c | 876 if (ntb[RTA_GATEWAY]) { in parse_multipath() 879 addr = nl_addr_alloc_attr(ntb[RTA_GATEWAY], in parse_multipath() 1022 if (tb[RTA_GATEWAY]) { in rtnl_route_parse() 1026 if (!(addr = nl_addr_alloc_attr(tb[RTA_GATEWAY], family))) in rtnl_route_parse() 1158 NLA_PUT_ADDR(msg, RTA_GATEWAY, in rtnl_route_build_msg()
|
D | rule.c | 145 if (tb[RTA_GATEWAY]) { in rule_msg_parser() 146 rule->r_srcmap = nl_addr_alloc_attr(tb[RTA_GATEWAY], family); in rule_msg_parser()
|
/external/dhcpcd-6.8.2/ |
D | if-bsd.c | 498 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt() 588 rtm.hdr.rtm_addrs |= RTA_GATEWAY; in if_route() 643 if (rtm.hdr.rtm_addrs & RTA_GATEWAY) { in if_route() 844 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_copyrt6() 991 rtm.hdr.rtm_addrs |= RTA_GATEWAY; in if_route6() 996 if (rtm.hdr.rtm_addrs & RTA_GATEWAY) { in if_route6() 1235 if (~rtm->rtm_addrs & (RTA_DST | RTA_GATEWAY)) in if_managelink()
|
D | if-linux.c | 426 case RTA_GATEWAY: in if_copyrt() 491 case RTA_GATEWAY: in if_copyrt6() 1376 add_attr_l(&nlm.hdr, sizeof(nlm), RTA_GATEWAY, in if_route() 1566 add_attr_l(&nlm.hdr, sizeof(nlm), RTA_GATEWAY, in if_route6()
|
/external/toybox/toys/pending/ |
D | ip.c | 1535 if (attr[RTA_GATEWAY]) { in display_route_info() 1536 inetval = (char *)inet_ntop(msg->rtm_family, RTA_DATA(attr[RTA_GATEWAY]), in display_route_info() 1543 if (!attr[RTA_GATEWAY]) return 0; in display_route_info() 1746 if (attr[RTA_GATEWAY]) attr[RTA_GATEWAY]->rta_type = 0; in route_get() 1939 add_string_to_rtattr(&req.hdr, sizeof(req),RTA_GATEWAY, addr, len); in route_update() 2191 RTA_GATEWAY, addr, sizeof(uint32_t)); in ruleupdate() 2276 if (!attr[RTA_GATEWAY]) printf("masquerade"); in show_rules() 2278 RTA_DATA(attr[RTA_GATEWAY]), toybuf, sizeof(toybuf))); in show_rules()
|
/external/avahi/avahi-autoipd/ |
D | iface-bsd.c | 400 SKIPRTA(ifam, RTA_GATEWAY, sa); in rtm_dispatch_newdeladdr()
|
/external/libnl/include/linux/ |
D | rtnetlink.h | 265 RTA_GATEWAY, enumerator
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 296 RTA_GATEWAY, enumerator
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 296 RTA_GATEWAY, enumerator
|