HomeSort by: relevance | last modified time | path
    Searched refs:ifc (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/tests/net/if/
ifconf.c 54 struct ifconf ifc; local
60 ifc.ifc_len = 0;
61 ifc.ifc_buf = NULL;
63 r = ioctl(fd, SIOCGIFCONF, &ifc);
69 return ifc.ifc_len / sizeof(struct ifreq);
82 struct ifconf ifc; local
99 ifc.ifc_len = sizeof(struct ifreq) * nifreqs;
100 ifc.ifc_req = ifreqs;
102 r = ioctl(fd, SIOCGIFCONF, &ifc);
107 for (i=0; i < (int)(ifc.ifc_len / sizeof(struct ifreq)); i++)
    [all...]
  /src/usr.sbin/map-mbone/
mapper.c 131 Interface *ifc; local
133 for (ifc = node->u.interfaces; ifc; ifc = ifc->next)
134 if (ifc->addr == addr)
135 return ifc;
137 ifc = (Interface *) malloc(sizeof(Interface));
138 ifc->addr = addr;
139 ifc->next = node->u.interfaces
149 Interface *ifc; local
312 Interface *ifc; local
447 Interface *ifc; local
634 Interface *ifc; local
694 Interface *ifc; local
741 Interface *ifc; local
    [all...]
  /src/sys/compat/common/
uipc_syscalls_40.c 39 struct oifconf *ifc = data; local
56 const bool docopy = ifc->ifc_req != NULL;
58 if (ifc->ifc_len < 0)
61 space = ifc->ifc_len;
62 ifrp = ifc->ifc_req;
159 ifc->ifc_len -= space;
161 ifc->ifc_len = -space;
  /src/lib/npf/ext_log/
npfext_log.c 79 struct ifconf ifc; local
94 memset(&ifc, 0, sizeof(ifc));
  /src/tests/net/mcast/
mcast.c 98 unsigned int ifc; local
130 ifc = 1;
132 &ifc, sizeof(ifc)) == -1)
134 ifc = 224;
136 &ifc, sizeof(ifc)) == -1)
138 ifc = 1; /* XXX should pick a proper interface */
139 if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_IF, &ifc,
140 sizeof(ifc)) == -1
    [all...]
  /src/usr.sbin/bootp/bootptest/
getether.c 134 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
  /src/sys/dev/usb/
usb_subr.c 408 struct usbd_interface *ifc = &dev->ud_ifaces[ifaceidx]; local
410 memset(ifc, 0, sizeof(*ifc));
412 ifc->ui_dev = dev;
413 ifc->ui_idesc = NULL;
414 ifc->ui_index = 0;
415 ifc->ui_altindex = 0;
416 ifc->ui_endpoints = NULL;
417 ifc->ui_busy = 0;
423 struct usbd_interface *ifc __diagused = &dev->ud_ifaces[ifaceidx]
532 struct usbd_interface *ifc = &dev->ud_ifaces[ifaceidx]; local
642 struct usbd_interface *ifc = &dev->ud_ifaces[ifcno]; local
    [all...]
usbdi_util.c 586 usbd_get_hid_descriptor(struct usbd_interface *ifc)
588 usb_interface_descriptor_t *idesc = usbd_get_interface_descriptor(ifc);
596 usbd_interface2device_handle(ifc, &dev);
616 usbd_read_report_desc(struct usbd_interface *ifc, void **descp, int *sizep)
623 usbd_interface2device_handle(ifc, &dev);
624 id = usbd_get_interface_descriptor(ifc);
627 hid = usbd_get_hid_descriptor(ifc);
  /src/sys/compat/linux32/common/
linux32_socket.c 419 struct linux32_ifconf ifc; local
430 error = copyin(data, &ifc, sizeof(ifc));
434 docopy = NETBSD32PTR64(ifc.ifc_req) != NULL;
436 if (ifc.ifc_len < 0)
439 space = ifc.ifc_len;
440 ifrp = NETBSD32PTR64(ifc.ifc_req);
492 ifc.ifc_len -= space;
494 ifc.ifc_len = -space;
496 return copyout(&ifc, data, sizeof(ifc))
    [all...]
  /src/usr.sbin/route6d/
route6d.c 102 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...]
  /src/sys/net/
if_vether.c 60 vether_clone_create(struct if_clone *ifc, int unit)
76 if_initname(ifp, ifc->ifc_name, unit);
if.c 1575 struct if_clone *ifc; local
1582 ifc = if_clone_lookup(name, &unit);
1583 if (ifc == NULL)
1592 return (*ifc->ifc_create)(ifc, unit);
1601 struct if_clone *ifc; local
1609 ifc = if_clone_lookup(name, NULL);
1610 if (ifc == NULL)
1613 if (ifc->ifc_destroy == NULL)
1632 error = (*ifc->ifc_destroy)(ifp)
1663 struct if_clone *ifc; local
1747 struct if_clone *ifc; local
3654 struct ifconf *ifc = (struct ifconf *)data; local
    [all...]
if_faith.c 136 faith_clone_create(struct if_clone *ifc, int unit)
142 if_initname(ifp, ifc->ifc_name, unit);
if_loop.c 175 loop_clone_create(struct if_clone *ifc, int unit)
181 if_initname(ifp, ifc->ifc_name, unit);
if_mpls.c 141 mpls_clone_create(struct if_clone *ifc, int unit)
148 if_initname(&sc->sc_if, ifc->ifc_name, unit);
if_stf.c 202 stf_clone_create(struct if_clone *ifc, int unit)
208 if_initname(&sc->sc_if, ifc->ifc_name, unit);
  /src/sys/netcan/
if_canloop.c 106 canloop_clone_create(struct if_clone *ifc, int unit)
112 if_initname(ifp, ifc->ifc_name, unit);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common_interceptors_ioctl.inc 589 struct __sanitizer_ifconf *ifc = (__sanitizer_ifconf *)arg;
590 COMMON_INTERCEPTOR_READ_RANGE(ctx, (char*)&ifc->ifc_len,
591 sizeof(ifc->ifc_len));
605 struct __sanitizer_ifconf *ifc = (__sanitizer_ifconf *)arg;
606 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
  /src/sys/net/npf/
if_npflog.c 111 npflog_clone_create(struct if_clone *ifc, int unit)
  /src/sys/dev/gpib/
gpibvar.h 77 void (*ifc)(void *); member in struct:gpib_chipset_tag
gpib.c 412 (*sc->sc_ic->ifc)(sc->sc_ic->cookie);
471 (*sc->sc_ic->ifc)(sc->sc_ic->cookie);
  /src/sys/compat/linux/common/
linux_socket.c 1188 struct linux_ifconf ifc; local
1199 error = copyin(data, &ifc, sizeof(ifc));
1203 docopy = ifc.ifc_req != NULL;
1205 if (ifc.ifc_len < 0)
1208 space = ifc.ifc_len;
1209 ifrp = ifc.ifc_req;
1261 ifc.ifc_len -= space;
1263 ifc.ifc_len = -space;
1265 return copyout(&ifc, data, sizeof(ifc))
    [all...]
  /src/sys/compat/sunos/
sunos_ioctl.c 707 struct oifconf ifc; local
716 error = copyin(SCARG(uap, data), &ifc, sizeof(ifc));
719 error = (*ctl)(fp, OOSIOCGIFCONF, &ifc);
722 error = copyout((void *)&ifc, SCARG(uap, data), sizeof(ifc));
  /src/sys/dev/ic/
isp_netbsd.c 300 struct isp_fc_device *ifc = (struct isp_fc_device *) addr; local
306 if (ifc->loopid >= MAX_FC_TARG) {
310 lp = &FCPARAM(isp, ifc->chan)->portdb[ifc->loopid];
312 ifc->role = lp->roles;
313 ifc->loopid = lp->handle;
314 ifc->portid = lp->portid;
315 ifc->node_wwn = lp->node_wwn;
316 ifc->port_wwn = lp->port_wwn;
  /src/sys/dist/pf/net/
if_pflog.c 128 pflog_clone_create(struct if_clone *ifc, int unit)

Completed in 31 milliseconds

1 2