Lines Matching defs:code
76 /* Now, on to the implementations, and heaps of debugging code. */
522 int code, i, j;
550 code = ioctl (P.sock, SIOCGLIFNUM, &P.lifnum);
551 if (code) {
564 code = get_lifconf (P.af, P.sock, &P.buf_size, P.buf);
565 if (code < 0) {
697 int code, i, j;
722 code = ioctl (P.sock, SIOCGLIFNUM, &P.if_num);
723 if (code) {
736 code = get_if_laddrconf (P.af, P.sock, &P.buf_size, P.buf);
737 if (code < 0) {
842 int code;
859 code = ioctl (s, SIOCGSIZIFCONF, &ifconfsize);
860 if (!code) {
865 code = ioctl (s, SIOCGIFNUM, &numifs);
866 if (!code && numifs > 0)
877 code = get_ifconf (s, &size, buf);
878 if (code < 0) {
879 code = errno;
881 return code;
930 int s, code;