Home
last modified time | relevance | path

Searched full:ifc (Results 1 – 25 of 139) sorted by relevance

123456

/freebsd/sys/net/
H A Dif_clone.c112 static void if_clone_free(struct if_clone *ifc);
113 static int if_clone_createif_nl(struct if_clone *ifc, const char *name,
116 static int ifc_simple_match(struct if_clone *ifc, const char *name);
117 static int ifc_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit);
122 static int ifc_simple_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
124 static int ifc_advanced_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
140 #define IF_CLONE_LOCK_INIT(ifc) \ argument
141 mtx_init(&(ifc)->ifc_mtx, "if_clone lock", NULL, MTX_DEF)
142 #define IF_CLONE_LOCK_DESTROY(ifc) mtx_destroy(&(ifc) argument
143 IF_CLONE_LOCK_ASSERT(ifc) global() argument
144 IF_CLONE_LOCK(ifc) global() argument
145 IF_CLONE_UNLOCK(ifc) global() argument
147 IF_CLONE_ADDREF(ifc) global() argument
153 IF_CLONE_ADDREF_LOCKED(ifc) global() argument
160 IF_CLONE_REMREF(ifc) global() argument
165 IF_CLONE_REMREF_LOCKED(ifc) global() argument
199 struct if_clone *ifc = ifc_find_cloner_match(name); ifc_create_ifp() local
221 struct if_clone *ifc = ifc_find_cloner_match(name); ifc_create_ifp_nl() local
249 struct if_clone *ifc = ifc_find_cloner(ifp->if_dname); ifc_modify_ifp_nl() local
262 struct if_clone *ifc = ifc_find_cloner(ifp->if_dname); ifc_dump_ifp_nl() local
271 ifc_create_ifp_nl_default(struct if_clone * ifc,char * name,size_t len,struct ifc_data_nl * ifd) ifc_create_ifp_nl_default() argument
303 ifc_link_ifp(struct if_clone * ifc,struct ifnet * ifp) ifc_link_ifp() argument
314 if_clone_addif(struct if_clone * ifc,struct ifnet * ifp) if_clone_addif() argument
320 ifc_unlink_ifp(struct if_clone * ifc,struct ifnet * ifp) ifc_unlink_ifp() argument
342 struct if_clone *ifc; ifc_find_cloner_match() local
357 struct if_clone *ifc; ifc_find_cloner() local
374 struct if_clone *ifc = ifc_find_cloner(name); ifc_find_cloner_in_vnet() local
384 if_clone_createif_nl(struct if_clone * ifc,const char * ifname,struct ifc_data_nl * ifd) if_clone_createif_nl() argument
425 struct if_clone *ifc; if_clone_destroy() local
447 if_clone_destroyif_flags(struct if_clone * ifc,struct ifnet * ifp,uint32_t flags) if_clone_destroyif_flags() argument
475 if_clone_destroyif(struct if_clone * ifc,struct ifnet * ifp) if_clone_destroyif() argument
483 struct if_clone *ifc; if_clone_alloc() local
503 if_clone_attach(struct if_clone * ifc) if_clone_attach() argument
529 struct if_clone *ifc = if_clone_alloc(name, req->maxunit); ifc_attach_cloner() local
554 ifc_detach_cloner(struct if_clone * ifc) ifc_detach_cloner() argument
563 ifc_advanced_create_wrapper(struct if_clone * ifc,char * name,size_t maxlen,struct ifc_data * ifc_data,struct ifnet ** ifpp) ifc_advanced_create_wrapper() argument
574 ifc_advanced_destroy_wrapper(struct if_clone * ifc,struct ifnet * ifp,uint32_t flags) ifc_advanced_destroy_wrapper() argument
585 struct if_clone *ifc; if_clone_advanced() local
603 ifc_simple_create_wrapper(struct if_clone * ifc,char * name,size_t maxlen,struct ifc_data * ifc_data,struct ifnet ** ifpp) ifc_simple_create_wrapper() argument
616 ifc_simple_destroy_wrapper(struct if_clone * ifc,struct ifnet * ifp,uint32_t flags) ifc_simple_destroy_wrapper() argument
629 struct if_clone *ifc; if_clone_simple() local
666 if_clone_detach(struct if_clone * ifc) if_clone_detach() argument
682 if_clone_free(struct if_clone * ifc) if_clone_free() argument
700 struct if_clone *ifc; if_clone_list() local
759 struct if_clone *ifc; if_clone_restoregroup() local
825 ifc_alloc_unit_specific(struct if_clone * ifc,int * unit) ifc_alloc_unit_specific() argument
847 ifc_alloc_unit_next(struct if_clone * ifc,int * unit) ifc_alloc_unit_next() argument
868 ifc_alloc_unit(struct if_clone * ifc,int * unit) ifc_alloc_unit() argument
877 ifc_free_unit(struct if_clone * ifc,int unit) ifc_free_unit() argument
885 ifc_simple_match(struct if_clone * ifc,const char * name) ifc_simple_match() argument
906 ifc_handle_unit(struct if_clone * ifc,char * name,size_t len,int * punit) ifc_handle_unit() argument
[all...]
H A Dif_clone.h51 typedef int ifc_match_f(struct if_clone *ifc, const char *name);
52 typedef int ifc_create_f(struct if_clone *ifc, char *name, size_t maxlen,
54 typedef int ifc_destroy_f(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags);
71 typedef int ifc_create_nl_f(struct if_clone *ifc, char *name, size_t maxlen,
111 void ifc_detach_cloner(struct if_clone *ifc);
118 void ifc_link_ifp(struct if_clone *ifc, struct ifnet *ifp);
119 bool ifc_unlink_ifp(struct if_clone *ifc, struct ifnet *ifp);
H A Dif_epair.c475 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match() argument
499 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() argument
510 if_clone_addif(ifc, ifp); in epair_clone_add()
514 epair_alloc_sc(struct if_clone *ifc) in epair_alloc_sc() argument
638 epair_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit) in epair_handle_unit() argument
649 error = ifc_alloc_unit(ifc, &unit); in epair_handle_unit()
690 ifc_free_unit(ifc, unit); in epair_handle_unit()
696 epair_clone_create(struct if_clone *ifc, char *name, size_t len, in epair_clone_create() argument
705 error = epair_handle_unit(ifc, name, len, &unit); in epair_clone_create()
710 sca = epair_alloc_sc(ifc); in epair_clone_create()
[all …]
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_interfaces.c70 struct ifchange *ifc = (struct ifchange *)dep; in ifchange_func() local
74 if ((ifp = mib_find_if(ifc->ifindex)) == NULL) in ifchange_func()
85 if (ifc->set & IFC_PROMISC) { in ifchange_func()
87 if (ifc->promisc) in ifchange_func()
89 ifc->rb |= IFRB_FLAGS; in ifchange_func()
91 if (ifc->set & IFC_ADMIN) { in ifchange_func()
93 if (ifc->admin) in ifchange_func()
95 ifc->rb |= IFRB_FLAGS; in ifchange_func()
97 if (ifc->rb & IFRB_FLAGS) { in ifchange_func()
103 ifc->rb_flags = ifr1.ifr_flags; in ifchange_func()
[all …]
/freebsd/contrib/netbsd-tests/net/if/
H A Difconf.c54 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/sys/contrib/device-tree/Bindings/memory-controllers/fsl/
H A Difc.txt4 - name : Should be ifc
5 - compatible : should contain "fsl,ifc". The version of the integrated
15 - interrupts: IFC may have one or two interrupts. If two interrupt
27 Child device nodes describe the devices connected to IFC such as NOR (e.g.
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 Dfsl,ifc.yaml4 $id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ifc.yaml#
13 NXP's integrated flash controller (IFC) is an advanced version of the
15 interfaces with an extended feature set. The IFC provides access to multiple
24 const: fsl,ifc
44 IFC may have one or two interrupts. If two interrupt specifiers are
64 Child device nodes describe the devices connected to IFC such as NOR (e.g.
65 cfi-flash) and NAND (fsl,ifc-nand). There might be board specific devices
86 compatible = "fsl,ifc";
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,wcd9335.yaml48 slim-ifc-dev:
49 description: SLIM IFC device interface
84 - slim-ifc-dev
94 - slim-ifc-dev
110 slim-ifc-dev: false
148 slim-ifc-dev = <&tasha_ifd>;
H A Dqcom,wcd934x.yaml31 slim-ifc-dev:
32 description: IFC device interface
158 - slim-ifc-dev
162 - slim-ifc-dev
183 slim-ifc-dev: false
206 slim-ifc-dev = <&wcd9340_ifd>;
/freebsd/contrib/netbsd-tests/net/mcast/
H A Dmcast.c97 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/usr.sbin/traceroute/
H A Difaddrlist.c70 struct ifconf ifc; in ifaddrlist() local
81 ifc.ifc_len = sizeof(ibuf); in ifaddrlist()
82 ifc.ifc_buf = (caddr_t)ibuf; in ifaddrlist()
84 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || in ifaddrlist()
85 ifc.ifc_len < (int)sizeof(struct ifreq)) { in ifaddrlist()
97 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in ifaddrlist()
/freebsd/contrib/libpcap/
H A Dfad-glifc.c85 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()
H A Dfad-gifc.c143 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()
233 * doesn't update ifc.ifc_len, leaving it larger than the in pcapint_findalldevs_interfaces()
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Difiter_ioctl.c60 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()
150 if (isc_ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc) in getbuf4()
172 * ifc.lifc_len is too near to the end of the in getbuf4()
176 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) in getbuf4()
273 * ifc.ifc_len is too near to the end of the in getbuf6()
464 if (iter->ifc.ifc_len == 0 || in internal_current4()
465 iter->pos == (unsigned int)iter->ifc.ifc_len) { in internal_current4()
[all …]
/freebsd/share/doc/psd/21.ipc/
H A Dspell.ok205 ifc
206 ifc.ifc
/freebsd/usr.sbin/route6d/
H A Droute6d.c83 struct ifc { /* Configuration of an interface */ struct
84 TAILQ_ENTRY(ifc) ifc_next;
98 static TAILQ_HEAD(, ifc) ifc_head = TAILQ_HEAD_INITIALIZER(ifc_head);
103 struct ifc *ifac_ifc; /* back pointer */
118 static struct ifc **index2ifc;
120 static struct ifc *loopifcp = NULL; /* pointing to loopback */
204 static void ripsend(struct ifc *, struct sockaddr_in6 *, int);
205 static int out_filter(struct riprt *, struct ifc *);
208 static int ifconfig1(const char *, const struct sockaddr *, struct ifc *, int);
212 static int rt_deladdr(struct ifc *, const struct sockaddr_in6 *,
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dbsc9131rdb.dts18 board_ifc: ifc: ifc@ff71e000 {
H A Dc293pcie.dts45 ifc: ifc@fffe1e000 { label
73 &ifc {
117 compatible = "fsl,ifc-nand";
H A Dbsc9132qds.dts18 ifc: ifc@ff71e000 { label
H A Dp1010rdb_32b.dtsi39 board_ifc: ifc: ifc@ffe1e000 {
H A Dp1010rdb_36b.dtsi39 board_ifc: ifc: ifc@fffe1e000 {
/freebsd/libexec/bootpd/
H A Dgetether.c125 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/libexec/rbootd/
H A Dbpf.c211 struct ifconf ifc; in BpfGetIntfName() local
225 ifc.ifc_len = sizeof ibuf; in BpfGetIntfName()
226 ifc.ifc_buf = (caddr_t)ibuf; in BpfGetIntfName()
228 if (ioctl(fd, SIOCGIFCONF, (char *)&ifc) < 0 || in BpfGetIntfName()
229 ifc.ifc_len < sizeof(struct ifreq)) { in BpfGetIntfName()
234 ifend = (struct ifreq *)((char *)ibuf + ifc.ifc_len); in BpfGetIntfName()
/freebsd/crypto/openssl/doc/man3/
H A DBN_security_bits.pod18 of asymmetric algorithms: the FFC (Finite Field Cryptography) and IFC
22 key. For IFC, e.g., RSA, only B<L> is used and it's commonly considered
/freebsd/sys/contrib/device-tree/Bindings/slimbus/
H A Dbus.txt36 - slim-ifc-dev - Should be phandle to SLIMBus Interface device.
58 slim-ifc-dev = <&codec_ifd>;

123456