gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:MERCD from t2ex/t2ex_source/kernel/sysmain/src/network_sample/util.c (0.00 seconds)
t2ex
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 ) {
140: re = so_ioctl(sd, SIOCSIFFLAGS, &ifr); 141: DEBUG_PRINT(("if_updown: so_ioctl = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 142: if ( re < 0 ) {
159: sd = so_socket(AF_INET, SOCK_DGRAM, 0); 160: DEBUG_PRINT(("set_ifaddr: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd))); 161:
168: iore = so_ioctl(sd, SIOCSIFADDR, &ifr); 169: DEBUG_PRINT(("set_ifaddr: so_ioctl = %d(%d, %d)\n", iore, MERCD(iore), SERCD(iore))); 170:
178: iore = so_ioctl(sd, SIOCSIFNETMASK, &ifr); 179: DEBUG_PRINT(("set_ifaddr: so_ioctl = %d(%d, %d)\n", iore, MERCD(iore), SERCD(iore))); 180: }
199: re = so_resctl(SO_RES_ADD_TABLE, &ht, sizeof ht); 200: DEBUG_PRINT(("so_resctl(localhost) = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 201: }
214: re = so_getaddrinfo(host, NULL, &hints, &res, buf, sizeof buf, NULL); 215: DEBUG_PRINT(("resolv_host: so_getaddrinfo = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 216: if ( re < 0 ) {