Home
last modified time | relevance | path

Searched refs:if_clone (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12.1/sys/net/
H A Dif_clone.h42 struct if_clone;
53 struct if_clone *
56 struct if_clone *
58 void if_clone_detach(struct if_clone *);
62 int ifc_alloc_unit(struct if_clone *, int *);
63 void ifc_free_unit(struct if_clone *, int);
64 const char *ifc_name(struct if_clone *);
65 void ifc_flags_set(struct if_clone *, int flags);
66 int ifc_flags_get(struct if_clone *);
79 struct if_clone *if_clone_findifc(struct ifnet *);
[all …]
H A Dif_clone.c66 struct if_clone { struct
180 struct if_clone *ifc; in if_clone_create()
261 struct if_clone *ifc; in if_clone_destroy()
354 struct if_clone *ifc; in if_clone_alloc()
372 struct if_clone *ifc1; in if_clone_attach()
388 struct if_clone *
392 struct if_clone *ifc; in if_clone_advanced()
408 struct if_clone *
412 struct if_clone *ifc; in if_clone_simple()
482 struct if_clone *ifc; in if_clone_list()
[all …]
H A Dif_edsc.c75 VNET_DEFINE_STATIC(struct if_clone *, edsc_cloner);
77 static int edsc_clone_create(struct if_clone *, int, caddr_t);
97 edsc_clone_create(struct if_clone *ifc, int unit, caddr_t params) in edsc_clone_create()
H A Dif_disc.c73 static int disc_clone_create(struct if_clone *, int, caddr_t);
79 VNET_DEFINE_STATIC(struct if_clone *, disc_cloner);
83 disc_clone_create(struct if_clone *ifc, int unit, caddr_t params) in disc_clone_create()
H A Dif_stf.c168 static int stf_clone_match(struct if_clone *, const char *);
169 static int stf_clone_create(struct if_clone *, char *, size_t, caddr_t);
170 static int stf_clone_destroy(struct if_clone *, struct ifnet *);
171 static struct if_clone *stf_cloner;
182 stf_clone_match(struct if_clone *ifc, const char *name) in stf_clone_match()
195 stf_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in stf_clone_create()
266 stf_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in stf_clone_destroy()
H A Dif_loop.c96 static int lo_clone_create(struct if_clone *, int, caddr_t);
102 VNET_DEFINE_STATIC(struct if_clone *, lo_cloner);
106 static struct if_clone *lo_cloner;
124 lo_clone_create(struct if_clone *ifc, int unit, caddr_t params) in lo_clone_create()
H A Dif_epair.c105 static int epair_clone_match(struct if_clone *, const char *);
106 static int epair_clone_create(struct if_clone *, char *, size_t, caddr_t);
107 static int epair_clone_destroy(struct if_clone *, struct ifnet *);
183 VNET_DEFINE_STATIC(struct if_clone *, epair_cloner);
689 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match()
715 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add()
730 epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in epair_clone_create()
918 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in epair_clone_destroy()
H A Dif_tun.c134 static int tun_clone_match(struct if_clone *ifc, const char *name);
135 static int tun_clone_create(struct if_clone *, char *, size_t, caddr_t);
136 static int tun_clone_destroy(struct if_clone *, struct ifnet *);
138 VNET_DEFINE_STATIC(struct if_clone *, tun_cloner);
181 tun_clone_match(struct if_clone *ifc, const char *name) in tun_clone_match()
191 tun_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in tun_clone_create()
304 tun_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in tun_clone_destroy()
H A Dif_enc.c91 VNET_DEFINE_STATIC(struct if_clone *, enc_cloner);
97 static int enc_clone_create(struct if_clone *, int, caddr_t);
155 enc_clone_create(struct if_clone *ifc, int unit, caddr_t params) in enc_clone_create()
H A Dif_tap.c103 static int tap_clone_create(struct if_clone *, int, caddr_t);
105 static struct if_clone *tap_cloner;
106 static int vmnet_clone_create(struct if_clone *, int, caddr_t);
108 static struct if_clone *vmnet_cloner;
186 tap_clone_create(struct if_clone *ifc, int unit, caddr_t params) in tap_clone_create()
204 vmnet_clone_create(struct if_clone *ifc, int unit, caddr_t params) in vmnet_clone_create()
H A Diflib_clone.c105 struct if_clone *ip_ifc;
171 iflib_clone_create(struct if_clone *ifc, int unit, caddr_t params) in iflib_clone_create()
H A Diflib_private.h57 struct if_clone *cc_ifc;
H A Dif_vlan.c292 static int vlan_clone_match(struct if_clone *, const char *);
293 static int vlan_clone_create(struct if_clone *, char *, size_t, caddr_t);
294 static int vlan_clone_destroy(struct if_clone *, struct ifnet *);
301 static struct if_clone *vlan_cloner;
304 VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner);
942 vlan_clone_match(struct if_clone *ifc, const char *name) in vlan_clone_match()
960 vlan_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in vlan_clone_create()
1088 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in vlan_clone_destroy()
H A Dif_gif.c111 static int gif_clone_create(struct if_clone *, int, caddr_t);
113 VNET_DEFINE_STATIC(struct if_clone *, gif_cloner);
136 gif_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gif_clone_create()
H A Difdi_if.m42 #include <net/if_clone.h>
144 null_cloneattach(if_ctx_t ctx __unused, struct if_clone *ifc __unused,
222 struct if_clone *_ifc;
H A Dif_me.c111 static int me_clone_create(struct if_clone *, int, caddr_t);
113 VNET_DEFINE_STATIC(struct if_clone *, me_cloner);
187 me_clone_create(struct if_clone *ifc, int unit, caddr_t params) in me_clone_create()
H A Dif_gre.c105 static int gre_clone_create(struct if_clone *, int, caddr_t);
107 VNET_DEFINE_STATIC(struct if_clone *, gre_cloner);
170 gre_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gre_clone_create()
H A Dif_ipsec.c178 static int ipsec_clone_create(struct if_clone *, int, caddr_t);
181 VNET_DEFINE_STATIC(struct if_clone *, ipsec_cloner);
185 ipsec_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipsec_clone_create()
H A Diflib.h39 struct if_clone;
H A Dif_lagg.c109 static int lagg_clone_create(struct if_clone *, int, caddr_t);
111 VNET_DEFINE_STATIC(struct if_clone *, lagg_cloner);
476 lagg_clone_create(struct if_clone *ifc, int unit, caddr_t params) in lagg_clone_create()
/freebsd-12.1/sys/netpfil/ipfw/
H A Dip_fw_bpf.c53 VNET_DEFINE_STATIC(struct if_clone *, ipfw_cloner);
54 VNET_DEFINE_STATIC(struct if_clone *, ipfwlog_cloner);
106 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfw_clone_create()
135 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfwlog_clone_create()
/freebsd-12.1/sys/dev/usb/
H A Dusb_pf.c72 static int usbpf_clone_match(struct if_clone *, const char *);
73 static int usbpf_clone_create(struct if_clone *, char *, size_t, caddr_t);
74 static int usbpf_clone_destroy(struct if_clone *, struct ifnet *);
81 static struct if_clone *usbpf_cloner;
153 usbpf_clone_match(struct if_clone *ifc, const char *name) in usbpf_clone_match()
167 usbpf_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in usbpf_clone_create()
218 usbpf_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in usbpf_clone_destroy()
/freebsd-12.1/sys/netpfil/pf/
H A Dif_pflog.c94 static int pflog_clone_create(struct if_clone *, int, caddr_t);
99 VNET_DEFINE_STATIC(struct if_clone *, pflog_cloner);
116 pflog_clone_create(struct if_clone *ifc, int unit, caddr_t param) in pflog_clone_create()
/freebsd-12.1/sys/dev/cxgbe/
H A Dt4_tracer.c88 static struct if_clone *t4_cloner;
125 t4_cloner_match(struct if_clone *ifc, const char *name) in t4_cloner_match()
138 t4_cloner_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in t4_cloner_create()
211 t4_cloner_destroy(struct if_clone *ifc, struct ifnet *ifp) in t4_cloner_destroy()
/freebsd-12.1/sys/net80211/
H A Dieee80211_freebsd.c72 static struct if_clone *wlan_cloner;
75 wlan_clone_create(struct if_clone *ifc, int unit, caddr_t params) in wlan_clone_create()

12