Searched refs:ifc (Results 1 - 25 of 99) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/macros/
H A Dtest2.s3 .ifc ,\arg2\arg3
/netbsd-6-1-5-RELEASE/usr.sbin/map-mbone/
H A Dmapper.c132 Interface *ifc; local
134 for (ifc = node->u.interfaces; ifc; ifc = ifc->next)
135 if (ifc->addr == addr)
136 return ifc;
138 ifc = (Interface *) malloc(sizeof(Interface));
139 ifc->addr = addr;
140 ifc
150 Interface *ifc; local
310 Interface *ifc; local
445 Interface *ifc; local
632 Interface *ifc; local
692 Interface *ifc; local
739 Interface *ifc; local
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/common/
H A Duipc_syscalls_40.c35 struct oifconf *ifc = data; local
42 if ((ifrp = ifc->ifc_req) == NULL)
45 space = ifc->ifc_len;
109 ifc->ifc_len -= space;
111 ifc->ifc_len = -space;
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/
H A Dfad-gifc.c145 struct ifconf ifc; local
183 ifc.ifc_len = buf_size;
184 ifc.ifc_buf = buf;
186 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0
194 if (ifc.ifc_len < buf_size &&
195 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)
202 ifend = (struct ifreq *)(buf + ifc.ifc_len);
225 * doesn't update ifc.ifc_len, leaving it larger than the
H A Dfad-glifc.c89 struct lifconf ifc; local
151 ifc.lifc_len = buf_size;
152 ifc.lifc_buf = buf;
153 ifc.lifc_family = AF_UNSPEC;
154 ifc.lifc_flags = 0;
156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) {
169 ifend = (struct lifreq *)(buf + ifc.lifc_len);
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_sockio.c145 struct oifconf ifc; local
155 ifc.ifc_len = sc.svr4_32_ifc_len;
156 ifc.ifc_buf = NETBSD32PTR64(sc.ifc_ifcu.ifcu_buf);
158 if ((error = (*ctl)(fp, OOSIOCGIFCONF, &ifc)) != 0)
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dgetether.c134 struct ifconf ifc;
143 ifc.ifc_len = sizeof(ibuf);
144 ifc.ifc_buf = (caddr_t) ibuf;
145 if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 ||
146 ifc.ifc_len < (int)sizeof(struct ifreq)) {
152 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len);
132 struct ifconf ifc; local
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/
H A Duuid.c119 struct ifconf ifc;
135 ifc.ifc_len = sizeof( buf );
136 ifc.ifc_buf = buf;
139 i = ioctl( s, SIOCGIFCONF, (char *)&ifc );
146 for ( i = 0; i < ifc.ifc_len; ) {
147 ifr = (struct ifreq *)&ifc.ifc_buf[i];
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/arm/
H A Dbpabi.S76 .ifc \signed, unsigned
99 .ifc \signed, unsigned
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dinet_addr_local.c352 struct ifconf ifc; local
379 ifc.ifc_len = vstring_avail(buf);
380 ifc.ifc_buf = vstring_str(buf);
381 if (ioctl(sock, SIOCGIFCONF, (char *) &ifc) < 0) {
384 } else if (ifc.ifc_len < vstring_avail(buf) / 2)
389 the_end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len);
390 for (ifr = ifc.ifc_req; ifr < the_end;) {
/netbsd-6-1-5-RELEASE/sys/net/
H A Dif.c943 struct if_clone *ifc; local
946 ifc = if_clone_lookup(name, &unit);
947 if (ifc == NULL)
953 return (*ifc->ifc_create)(ifc, unit);
962 struct if_clone *ifc; local
965 ifc = if_clone_lookup(name, NULL);
966 if (ifc == NULL)
973 if (ifc->ifc_destroy == NULL)
976 return (*ifc
985 struct if_clone *ifc; local
1025 if_clone_attach(struct if_clone *ifc) argument
1036 if_clone_detach(struct if_clone *ifc) argument
1050 struct if_clone *ifc; local
1998 struct ifconf *ifc = (struct ifconf *)data; local
[all...]
H A Dif_faith.c110 faith_clone_create(struct if_clone *ifc, int unit) argument
116 if_initname(ifp, ifc->ifc_name, unit);
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Dusbdi_util.h58 usb_hid_descriptor_t *usbd_get_hid_descriptor(usbd_interface_handle ifc);
66 usbd_status usbd_read_report_desc(usbd_interface_handle ifc, void **descp,
H A Dusb_subr.c427 usbd_interface_handle ifc = &dev->ifaces[ifaceidx]; local
437 ifc->device = dev;
438 ifc->idesc = idesc;
439 ifc->index = ifaceidx;
440 ifc->altindex = altidx;
441 nendpt = ifc->idesc->bNumEndpoints;
444 ifc->endpoints = malloc(nendpt * sizeof(struct usbd_endpoint),
446 if (ifc->endpoints == NULL)
449 ifc->endpoints = NULL;
450 ifc
516 usbd_interface_handle ifc = &dev->ifaces[ifcno]; local
[all...]
H A Dusbdi_util.c347 usbd_get_hid_descriptor(usbd_interface_handle ifc) argument
349 usb_interface_descriptor_t *idesc = usbd_get_interface_descriptor(ifc);
357 usbd_interface2device_handle(ifc, &dev);
374 usbd_read_report_desc(usbd_interface_handle ifc, void **descp, int *sizep, argument
382 usbd_interface2device_handle(ifc, &dev);
383 id = usbd_get_interface_descriptor(ifc);
386 hid = usbd_get_hid_descriptor(ifc);
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/libamu/
H A Dwire.c451 #define clist (ifc.ifc_ifcu.ifcu_req)
452 #define count (ifc.ifc_len/sizeof(struct ifreq))
458 struct ifconf ifc; local
483 ifc.ifc_len = sizeof(buf);
484 ifc.ifc_buf = buf;
489 if (ioctl(fd, SIOCGIFCONF, (caddr_t) & ifc) < 0)
495 cplim = buf + ifc.ifc_len;
/netbsd-6-1-5-RELEASE/usr.sbin/route6d/
H A Droute6d.c102 struct ifc { /* Configuration of an interface */ struct
104 struct ifc *ifc_next;
118 struct ifc *ifa_conf; /* back pointer */
132 static struct ifc *ifc; variable in typeref:struct:ifc
133 static int nifc; /* number of valid ifc's */
134 static struct ifc **index2ifc;
136 static struct ifc *loopifcp = NULL; /* pointing to loopback */
208 static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
209 static int out_filter(struct riprt *, struct ifc *);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/
H A Difiter_ioctl.c60 struct ifconf ifc; member in struct:isc_interfaceiter
123 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len));
124 iter->ifc.ifc_len = iter->bufsize;
125 iter->ifc.ifc_buf = iter->buf;
131 if (ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc)
153 * ifc.lifc_len is too near to the end of the
157 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq)
254 * ifc.ifc_len is too near to the end of the
445 if (iter->ifc
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/unix/
H A Difiter_ioctl.c62 struct ifconf ifc; member in struct:isc_interfaceiter
125 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len));
126 iter->ifc.ifc_len = iter->bufsize;
127 iter->ifc.ifc_buf = iter->buf;
133 if (ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc)
155 * ifc.lifc_len is too near to the end of the
159 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq)
256 * ifc.ifc_len is too near to the end of the
447 if (iter->ifc
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dscm.c539 struct ifconf ifc; local
546 ifc.ifc_len = sizeof(buf);
547 ifc.ifc_buf = buf;
549 if (ioctl(s, SIOCGIFCONF, &ifc) == -1) {
556 if ((nint = ifc.ifc_len / sizeof(struct ifreq)) <= 0)
562 for (ifr = ifc.ifc_req, n = 0; n < nint; n++, ifr++) {
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/mDNSPosix/
H A DmDNSUNP.c332 struct ifconf ifc; local
361 ifc.ifc_len = len;
362 ifc.ifc_buf = buf;
363 if (ioctl(sockfd, SIOCGIFCONF, &ifc) < 0) {
368 if (ifc.ifc_len == lastlen)
370 lastlen = ifc.ifc_len;
381 for (ptr = buf; ptr < buf + ifc.ifc_len; ) {
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/
H A Dlinux32_socket.c417 struct netbsd32_ifconf *ifc = data; local
425 ifrp = (struct linux32_ifreq *)NETBSD32PTR64(ifc->ifc_req);
429 space = ifc->ifc_len;
457 ifc->ifc_len -= space;
459 ifc->ifc_len = -space;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dgetipnode.c674 struct ifconf ifc;
721 ifc.ifc_len = bufsiz;
722 ifc.ifc_buf = buf;
729 if (emul_ioctl(&ifc) >= 0)
732 if ((n = ioctl(s, SIOCGIFCONF, (char *)&ifc)) != -1) {
737 * ifc.ifc_len is too near to the end of the
741 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz)
758 cplim = buf + ifc.ifc_len; /* skip over if's with big ifr_addr's */
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dgethostent.c642 struct ifconf ifc; local
682 ifc.ifc_len = bufsiz;
683 ifc.ifc_buf = buf;
690 if (emul_ioctl(&ifc) >= 0)
693 if ((n = ioctl(s, SIOCGIFCONF, (char *)&ifc)) != -1) {
698 * ifc.ifc_len is too near to the end of the
702 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz)
717 cplim = buf + ifc.ifc_len; /*%< skip over if's with big ifr_addr's */
/netbsd-6-1-5-RELEASE/sys/dev/gpib/
H A Dgpibvar.h77 void (*ifc)(void *); member in struct:gpib_chipset_tag

Completed in 313 milliseconds

1234