Home
last modified time | relevance | path

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

/external/ltp/testcases/network/stress/route/
Droute-change-netlink.c141 struct ip_addr *p_rhost = rhost; in setup() local
143 while (p_rhost) { in setup()
146 if (!strncpy(dst_str, p_rhost->ip_str, sizeof(dst_str))) in setup()
147 tst_brk(TBROK, "failed copy IP '%s'", p_rhost->ip_str); in setup()
148 dst_str[strlen(p_rhost->ip_str)-1] = '\0'; in setup()
154 p_rhost = p_rhost->next; in setup()
284 struct ip_addr *p_dst = dst, *p_gw = gw, *p_rhost = rhost; in run() local
290 send_udp(p_rhost->ip); in run()
298 p_rhost = p_rhost->next ?: rhost; in run()