- t2ex
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/getaddrinfo.c - 74.1KB - 2,420 lines
1806: cp = (void *)hostbuf + strlen(hostbuf) + 1;
1807: inet_ntop(p->table.addr->sa_family,
1808: &((struct sockaddr_in*)p->table.addr)->sin_addr,
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/gethnamaddr.c - 48.5KB - 1,584 lines
1515: */
1516: if (inet_ntop(af, uaddr, name, sizeof(name)) == NULL)
1517: return NS_UNAVAIL;
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/getnameinfo.c - 18.4KB - 563 lines
313: default:
314: if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr))
315: == NULL)
- More results from getnameinfo.c
- t2ex_source/kernel/sysmain/src/network_sample/dhclient.c - 13.2KB - 407 lines
320: a.s_addr = state->yiaddr;
321: DEBUG_PRINT(("%s: IP address = %s\n", ifname, inet_ntop(AF_INET, &a, rbuf, sizeof(rbuf))));
322: route_add(INADDR_ANY, state->gate, INADDR_ANY, index, 0);
- More results from dhclient.c
- t2ex_source/kernel/sysmain/src/network_sample/net_show.c - 7.0KB - 223 lines
62: printf(" inet: %s\n",
63: inet_ntop(AF_INET, &sin->sin_addr, str, sizeof(str)));
64:
- More results from net_show.c
- t2ex_source/kernel/sysmain/src/network_sample/net_test.c - 12.1KB - 415 lines
128: addr.s_addr = ((struct sockaddr_in *)(res->ai_addr))->sin_addr.s_addr;
129: printf("test_getaddrinfo: %s => %s\n", hostname, inet_ntop(AF_INET, &addr, rbuf, sizeof(rbuf)));
130: free(buf);
- More results from net_test.c
- t2ex_source/kernel/sysmain/src/network_sample/ping.c - 7.7KB - 229 lines
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 {
- More results from ping.c
- t2ex_source/kernel/sysmain/src/network_sample/route.c - 7.4KB - 226 lines
199:
200: printf("%-16s ", dest != NULL ? inet_ntop(AF_INET, &dest->sin_addr, rbuf, sizeof(rbuf)) : "-");
201: printf("%-16s ", mask != NULL ? inet_ntop(AF_INET, &mask->sin_addr, rbuf, sizeof(rbuf)) : "-");
- More results from route.c