/src/tests/net/if/ |
ifconf.c | 54 struct ifconf ifc; local in function:get_number_of_entries 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 in function:show_interfaces 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 in function:find_interface 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 in function:find_neighbor 312 Interface *ifc; local in function:accept_neighbors 447 Interface *ifc; local in function:accept_neighbors2 634 Interface *ifc; local in function:print_map 694 Interface *ifc; local in function:graph_edges 741 Interface *ifc; local in function:elide_aliases [all...] |
/src/sys/compat/common/ |
uipc_syscalls_40.c | 39 struct oifconf *ifc = data; local in function:compat_ifconf 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 in function:npfext_log_param 94 memset(&ifc, 0, sizeof(ifc));
|
/src/tests/net/mcast/ |
mcast.c | 98 unsigned int ifc; local in function:addmc 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 in function:getether
|
/src/sys/dev/usb/ |
usb_subr.c | 408 struct usbd_interface *ifc = &dev->ud_ifaces[ifaceidx]; local in function:usbd_iface_init 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 in function:usbd_fill_iface_data 642 struct usbd_interface *ifc = &dev->ud_ifaces[ifcno]; local in function:usbd_free_iface_data [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 in function:linux32_getifconf 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/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale/ |
fsl-ls1043a-qds.dts | 42 &ifc { 60 compatible = "fsl,ifc-nand";
|
fsl-ls1046a-frwy.dts | 93 &ifc { 101 compatible = "fsl,ifc-nand";
|
fsl-ls208xa-rdb.dtsi | 16 &ifc { 34 compatible = "fsl,ifc-nand";
|
fsl-ls1046a-qds.dts | 133 &ifc { 151 compatible = "fsl,ifc-nand";
|
fsl-ls1046a-rdb.dts | 78 &ifc { 87 compatible = "fsl,ifc-nand";
|
fsl-ls1088a-qds.dts | 110 &ifc { 124 compatible = "fsl,ifc-nand";
|
fsl-ls208xa-qds.dtsi | 17 &ifc { 35 compatible = "fsl,ifc-nand";
|
fsl-ls1043a-rdb.dts | 55 &ifc { 75 compatible = "fsl,ifc-nand";
|
fsl-ls1088a-rdb.dts | 177 &ifc { 183 compatible = "fsl,ifc-nand";
|
/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/netcan/ |
if_canloop.c | 106 canloop_clone_create(struct if_clone *ifc, int unit) 112 if_initname(ifp, ifc->ifc_name, unit);
|
/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 in function:if_clone_create 1582 ifc = if_clone_lookup(name, &unit); 1583 if (ifc == NULL) 1592 return (*ifc->ifc_create)(ifc, unit); 1601 struct if_clone *ifc; local in function:if_clone_destroy 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 in function:if_clone_lookup 1747 struct if_clone *ifc; local in function:if_clone_list 3654 struct ifconf *ifc = (struct ifconf *)data; local in function:ifconf [all...] |
if_faith.c | 136 faith_clone_create(struct if_clone *ifc, int unit) 142 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)
|