| /freebsd-14.2/sys/net/ |
| H A D | if_clone.c | 146 #define IF_CLONE_LOCK(ifc) mtx_lock(&(ifc)->ifc_mtx) argument 147 #define IF_CLONE_UNLOCK(ifc) mtx_unlock(&(ifc)->ifc_mtx) argument 348 if (ifc->ifc_match(ifc, name)) in ifc_find_cloner_match() 353 return (ifc); in ifc_find_cloner_match() 369 return (ifc); in ifc_find_cloner() 379 return (ifc); in ifc_find_cloner_in_vnet() 402 error = (*ifc->create_nl)(ifc, name, sizeof(name), ifd); in if_clone_createif_nl() 466 err = (*ifc->ifc_destroy)(ifc, ifp, flags); in if_clone_destroyif_flags() 495 ifc->ifc_unrhdr = new_unrhdr(0, ifc->ifc_maxunit, &ifc->ifc_mtx); in if_clone_alloc() 502 return (ifc); in if_clone_alloc() [all …]
|
| H A D | if_clone.h | 53 typedef int ifc_match_f(struct if_clone *ifc, const char *name); 54 typedef int ifc_create_f(struct if_clone *ifc, char *name, size_t maxlen, 56 typedef int ifc_destroy_f(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags); 73 typedef int ifc_create_nl_f(struct if_clone *ifc, char *name, size_t maxlen, 113 void ifc_detach_cloner(struct if_clone *ifc); 120 void ifc_link_ifp(struct if_clone *ifc, struct ifnet *ifp); 121 bool ifc_unlink_ifp(struct if_clone *ifc, struct ifnet *ifp);
|
| H A D | if_epair.c | 475 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match() argument 510 if_clone_addif(ifc, ifp); in epair_clone_add() 514 epair_alloc_sc(struct if_clone *ifc) in epair_alloc_sc() argument 649 error = ifc_alloc_unit(ifc, &unit); in epair_handle_unit() 690 ifc_free_unit(ifc, unit); in epair_handle_unit() 705 error = epair_handle_unit(ifc, name, len, &unit); in epair_clone_create() 710 sca = epair_alloc_sc(ifc); in epair_clone_create() 711 scb = epair_alloc_sc(ifc); in epair_clone_create() 738 epair_clone_add(ifc, scb); in epair_clone_create() 805 error = if_clone_destroyif(ifc, oifp); in epair_clone_destroy() [all …]
|
| /freebsd-14.2/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII_interfaces.c | 87 if (ifc->promisc) in ifchange_func() 89 ifc->rb |= IFRB_FLAGS; in ifchange_func() 93 if (ifc->admin) in ifchange_func() 95 ifc->rb |= IFRB_FLAGS; in ifchange_func() 111 ifc->rb |= IFRB_TRAPS; in ifchange_func() 127 if (ifc->rb & IFRB_TRAPS) in ifchange_func() 196 struct ifchange *ifc; in op_ifentry() local 234 if (ifc->set & IFC_ADMIN) in op_ifentry() 236 ifc->set |= IFC_ADMIN; in op_ifentry() 371 struct ifchange *ifc; in op_ifxtable() local [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/net/if/ |
| H A D | ifconf.c | 54 struct ifconf ifc; in get_number_of_entries() local 60 ifc.ifc_len = 0; in get_number_of_entries() 61 ifc.ifc_buf = NULL; in get_number_of_entries() 63 r = ioctl(fd, SIOCGIFCONF, &ifc); in get_number_of_entries() 69 return ifc.ifc_len / sizeof(struct ifreq); in get_number_of_entries() 82 struct ifconf ifc; in show_interfaces() local 99 ifc.ifc_len = sizeof(struct ifreq) * nifreqs; in show_interfaces() 100 ifc.ifc_req = ifreqs; in show_interfaces() 102 r = ioctl(fd, SIOCGIFCONF, &ifc); in show_interfaces() 107 for (i=0; i < (int)(ifc.ifc_len / sizeof(struct ifreq)); i++) { in show_interfaces()
|
| /freebsd-14.2/contrib/traceroute/ |
| H A D | ifaddrlist.c | 79 struct ifconf ifc; in ifaddrlist() local 90 ifc.ifc_len = sizeof(ibuf); in ifaddrlist() 91 ifc.ifc_buf = (caddr_t)ibuf; in ifaddrlist() 93 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || in ifaddrlist() 94 ifc.ifc_len < (int)sizeof(struct ifreq)) { in ifaddrlist() 106 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in ifaddrlist()
|
| /freebsd-14.2/contrib/libpcap/ |
| H A D | fad-gifc.c | 143 struct ifconf ifc; in pcapint_findalldevs_interfaces() local 191 ifc.ifc_len = buf_size; in pcapint_findalldevs_interfaces() 192 ifc.ifc_buf = buf; in pcapint_findalldevs_interfaces() 194 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 in pcapint_findalldevs_interfaces() 202 if (ifc.ifc_len < (int)buf_size && in pcapint_findalldevs_interfaces() 203 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcapint_findalldevs_interfaces() 210 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcapint_findalldevs_interfaces()
|
| H A D | fad-glifc.c | 85 struct lifconf ifc; in pcapint_findalldevs_interfaces() local 147 ifc.lifc_len = buf_size; in pcapint_findalldevs_interfaces() 148 ifc.lifc_buf = buf; in pcapint_findalldevs_interfaces() 149 ifc.lifc_family = AF_UNSPEC; in pcapint_findalldevs_interfaces() 150 ifc.lifc_flags = 0; in pcapint_findalldevs_interfaces() 152 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcapint_findalldevs_interfaces() 165 ifend = (struct lifreq *)(buf + ifc.lifc_len); in pcapint_findalldevs_interfaces()
|
| /freebsd-14.2/contrib/netbsd-tests/net/mcast/ |
| H A D | mcast.c | 97 unsigned int ifc; in addmc() local 129 ifc = 1; in addmc() 131 &ifc, sizeof(ifc)) == -1) in addmc() 133 ifc = 224; in addmc() 135 &ifc, sizeof(ifc)) == -1) in addmc() 137 ifc = 1; /* XXX should pick a proper interface */ in addmc() 138 if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_IF, &ifc, in addmc() 139 sizeof(ifc)) == -1) in addmc() 142 ifc = 0; /* Let pick an appropriate interface */ in addmc() 144 m6.ipv6mr_interface = ifc; in addmc()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/memory-controllers/fsl/ |
| H A D | ifc.txt | 4 - name : Should be ifc 5 - compatible : should contain "fsl,ifc". The version of the integrated 28 cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices 33 ifc@ffe1e000 { 34 compatible = "fsl,ifc", "simple-bus"; 64 compatible = "fsl,ifc-nand";
|
| H A D | fsl,ifc.yaml | 4 $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ifc.yaml# 24 const: fsl,ifc 65 cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices 86 compatible = "fsl,ifc";
|
| /freebsd-14.2/libexec/rbootd/ |
| H A D | bpf.c | 219 struct ifconf ifc; in BpfGetIntfName() local 233 ifc.ifc_len = sizeof ibuf; in BpfGetIntfName() 234 ifc.ifc_buf = (caddr_t)ibuf; in BpfGetIntfName() 236 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || in BpfGetIntfName() 237 ifc.ifc_len < sizeof(struct ifreq)) { in BpfGetIntfName() 242 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in BpfGetIntfName()
|
| /freebsd-14.2/usr.sbin/route6d/ |
| H A D | route6d.c | 281 struct ifc *ifcp; in main() 580 struct ifc *ifcp; in ripalarm() 1515 struct ifc *ifcp; in ifconfig() 1589 struct ifc *ifcp, in ifconfig1() 1669 struct ifc *ifcp; in ifremove() 2816 struct ifc *ifcp) in addroute() 3023 struct ifc *ifcp; in ifdump() 3170 struct ifc *ifcp; in filterconfig() 3526 static struct ifc * 3529 struct ifc *ifcp; in ifc_find() [all …]
|
| /freebsd-14.2/libexec/bootpd/ |
| H A D | getether.c | 125 struct ifconf ifc; in getether() local 134 ifc.ifc_len = sizeof(ibuf); in getether() 135 ifc.ifc_buf = (caddr_t) ibuf; in getether() 136 if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 || in getether() 137 ifc.ifc_len < sizeof(struct ifreq)) { in getether() 143 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len); in getether()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/sound/ |
| H A D | qcom,wcd9335.yaml | 48 slim-ifc-dev: 84 - slim-ifc-dev 94 - slim-ifc-dev 110 slim-ifc-dev: false 148 slim-ifc-dev = <&tasha_ifd>;
|
| H A D | qcom,wcd934x.yaml | 31 slim-ifc-dev: 158 - slim-ifc-dev 162 - slim-ifc-dev 183 slim-ifc-dev: false 206 slim-ifc-dev = <&wcd9340_ifd>;
|
| /freebsd-14.2/contrib/ntp/libntp/lib/isc/unix/ |
| H A D | ifiter_ioctl.c | 60 struct ifconf ifc; member 142 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len)); in getbuf4() 143 iter->ifc.ifc_len = iter->bufsize; in getbuf4() 144 iter->ifc.ifc_buf = iter->buf; in getbuf4() 176 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) in getbuf4() 464 if (iter->ifc.ifc_len == 0 || in internal_current4() 465 iter->pos == (unsigned int)iter->ifc.ifc_len) { in internal_current4() 473 INSIST( iter->pos < (unsigned int) iter->ifc.ifc_len); in internal_current4() 475 ifrp = (void *)((char *) iter->ifc.ifc_req + iter->pos); in internal_current4() 917 if (iter->pos < (unsigned int) iter->ifc.ifc_len) { in internal_next4() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/src/powerpc/fsl/ |
| H A D | bsc9131rdb.dts | 18 board_ifc: ifc: ifc@ff71e000 {
|
| H A D | bsc9132qds.dts | 18 ifc: ifc@ff71e000 { label
|
| H A D | c293pcie.dts | 45 ifc: ifc@fffe1e000 { label 73 &ifc { 117 compatible = "fsl,ifc-nand";
|
| /freebsd-14.2/sys/dev/usb/ |
| H A D | usb_pf.c | 157 usbpf_clone_match(struct if_clone *ifc, const char *name) in usbpf_clone_match() argument 171 usbpf_clone_create(struct if_clone *ifc, char *name, size_t len, in usbpf_clone_create() argument 191 error = ifc_alloc_unit(ifc, &unit); in usbpf_clone_create() 217 usbpf_clone_destroy(struct if_clone *ifc, if_t ifp, uint32_t flags) in usbpf_clone_destroy() argument 235 ifc_free_unit(ifc, unit); in usbpf_clone_destroy()
|
| /freebsd-14.2/share/doc/psd/21.ipc/ |
| H A D | spell.ok | 205 ifc 206 ifc.ifc
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/freescale/ |
| H A D | fsl-ls208xa-rdb.dtsi | 16 &ifc { 34 compatible = "fsl,ifc-nand";
|
| H A D | fsl-ls1046a-frwy.dts | 93 &ifc { 101 compatible = "fsl,ifc-nand";
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 94 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfw_clone_create() argument 118 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfwlog_clone_create() argument
|