Searched refs:gw_str (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 179 char dst_str[INET6_ADDRSTRLEN], gw_str[INET6_ADDRSTRLEN]; in brk_on_route_error() local 182 tst_sock_addr(gw, sizeof(gw), gw_str, sizeof(gw_str)); in brk_on_route_error() 186 iface, dst_str, gw ? gw_str : "null"); in brk_on_route_error()
|
/external/scapy/scapy/arch/ |
D | linux.py | 176 def get_alias_address(iface_name, ip_mask, gw_str, metric): argument 220 return (ifaddr & msk, msk, gw_str, ifname, 270 gw_str = scapy.utils.inet_ntoa(struct.pack("I", int(gw, 16))) 274 tmp_route = get_alias_address(iff, dst_int, gw_str, metric) 278 routes.append((dst_int, msk_int, gw_str, iff, ifaddr, metric)) 281 routes.append((dst_int, msk_int, gw_str, iff, ifaddr, metric))
|