gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:SERCD from t2ex/t2ex_source/kernel/sysmain/src/network_sample/route.c (0.00 seconds)
t2ex
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);
111:         re = so_write(sock, &buf, buf.rtm.rtm_msglen);
112:         DEBUG_PRINT(("route_add: so_write = %d(%d, %d)\n", re, MERCD(re), SERCD(re)));
113:         so_close(sock);
220: er = so_rtlist(AF_INET, NET_RT_DUMP, 0, &rtbuf, sizeof(rtbuf) ); 221: DEBUG_PRINT(("dump_rtlist: so_rtlist = %d(%d, %d)\n", er, MERCD(er), SERCD(er))); 222: for(rtm = &rtbuf.rt; rtm->rtm_msglen != 0; rtm = (struct rt_msghdr *)((void*)rtm + rtm->rtm_msglen) ) {