- t2ex
- t2ex_source/include/t2ex/errno.h - 14.0KB - 285 lines
77: #ifndef ERRNO
78: #define ERRNO(er) (MERCD(er) == EC_ERRNO ? SERCD(er) : 0)
79: #endif
- t2ex_source/kernel/sysmain/src/network_sample/dhclient.c - 13.2KB - 407 lines
92: sd = so_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
93: DEBUG_PRINT(("init_receiver: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd)));
94:
- More results from dhclient.c
- t2ex_source/kernel/sysmain/src/network_sample/httpclient.c - 3.7KB - 111 lines
75: sd = so_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
76: DEBUG_PRINT(("http_get: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd)));
77: if ( sd < 0 ) {
- More results from httpclient.c
- t2ex_source/kernel/sysmain/src/network_sample/net_show.c - 7.0KB - 223 lines
102: printf("error: so_getifaddrs: %d(%d,%d)\n", len, MERCD(len),
103: SERCD(len));
104: return;
- More results from net_show.c
- t2ex_source/kernel/sysmain/src/network_sample/net_test.c - 12.1KB - 415 lines
86: re = http_get("t-engine.org", "/", buf, HTTP_BUFSIZE);
87: DEBUG_PRINT(("server_task: http_get = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
88: if ( re < 0 ) {
- More results from net_test.c
- t2ex_source/kernel/sysmain/src/network_sample/ping.c - 7.7KB - 229 lines
98: re = so_select(sd+1, &fds, NULL, NULL, &tv);
99: DEBUG_PRINT(("recv_icmp_echo_reply: so_select = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
100: if ( re < 0 ) {
- More results from ping.c
- t2ex_source/kernel/sysmain/src/network_sample/route.c - 7.4KB - 226 lines
108: sock = so_socket(AF_ROUTE, SOCK_RAW, 0);
109: DEBUG_PRINT(("route_add: so_socket = %d(%d, %d)\n", sock, MERCD(sock), SERCD(sock)));
110: so_shutdown(sock, SHUT_RD);
- More results from route.c
- t2ex_source/kernel/sysmain/src/network_sample/util.c - 7.1KB - 246 lines
127: re = so_ioctl(sd, SIOCGIFFLAGS, &ifr);
128: DEBUG_PRINT(("if_updown: so_ioctl = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
129: if ( re < 0 ) {
- More results from util.c
- t2ex_source/lib/libc/src/stdlib/strercd_r.c - 8.5KB - 195 lines
176: } else {
177: ser = SERCD(er);
178: for (i = 0; i < (int)(sizeof(ex_tbl) / sizeof(*ex_tbl)); i++) {
- t2ex_source/t2ex/network/net/src/netmain/tkn_intr.c - 7.0KB - 261 lines
123: err_sem:
124: log(LOG_ERR, "%s: unexpected error %d(%d, %d)", __func__, er, MERCD(er), SERCD(er));
125: err_exit:
- More results from tkn_intr.c