- t2ex
- bsd_source/t2ex/network/net/src_bsdlib/libc/resolv/res_init.c - 36.4KB - 1,026 lines
269: u[nserv].sin.sin_family = AF_INET;
270: u[nserv].sin.sin_port = htons(NAMESERVER_PORT);
271: #ifdef HAVE_SA_LEN
- More results from res_init.c
- bsd_source/t2ex/network/net/src_bsdlib/libc/resolv/res_mkquery.c - 10.9KB - 326 lines
148: statp->id = res_nrandomid(statp);
149: hp->id = htons(statp->id);
150: hp->opcode = op;
- More results from res_mkquery.c
- t2ex_source/kernel/sysmain/src/network_sample/dhclient.c - 13.2KB - 407 lines
98: s.sin_addr.s_addr = htonl(INADDR_ANY);
99: s.sin_port = htons(DHCP_CLIENT_PORT);
100: re = so_bind(sd, (struct sockaddr*)&s, sizeof s);
- More results from dhclient.c
- t2ex_source/kernel/sysmain/src/network_sample/httpclient.c - 3.7KB - 111 lines
84: sa.sin_addr.s_addr = hostaddr;
85: sa.sin_port = htons(80);
86: re = so_connect(sd, (struct sockaddr*)&sa, sizeof sa);
- t2ex_source/kernel/sysmain/src/network_sample/net_test.c - 12.1KB - 415 lines
148: sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
149: sa.sin_port = htons(12345);
150:
- More results from net_test.c