Search | Google it | Results 1 - 1 of 1 for funcall:inet_ntop from t2ex/t2ex_source/kernel/sysmain/src/network_sample/ping.c (0.00 seconds) |
117: if ( hop == 0 ) { 118: printf("ICMP reply from %s: %d bytes %d ms TTL=%d\n", inet_ntop(AF_INET, &p->ip.ip_src, rbuf, sizeof(rbuf)), re, tim.lo - state->start_time.lo, p->ip.ip_ttl); 119: } else { 120: printf(" %2d %4d ms %s\n", hop, tim.lo - state->start_time.lo, inet_ntop(AF_INET, &p->ip.ip_src, rbuf, sizeof(rbuf))); 121: } 214: a.s_addr = addr; 215: printf("traceroute to %s, 30 hops max\n", inet_ntop(AF_INET, &a, rbuf, sizeof(rbuf))); 216: for(hop = 1; hop <= 30; hop++) {