Symbol: if_clone
sys/dev/cxgbe/t4_tracer.c
123
t4_cloner_match(struct if_clone *ifc, const char *name)
sys/dev/cxgbe/t4_tracer.c
135
t4_cloner_create(struct if_clone *ifc, char *name, size_t len, caddr_t params)
sys/dev/cxgbe/t4_tracer.c
197
t4_cloner_destroy(struct if_clone *ifc, if_t ifp)
sys/dev/cxgbe/t4_tracer.c
86
static struct if_clone *t4_cloner;
sys/dev/wg/if_wg.c
278
VNET_DEFINE_STATIC(struct if_clone *, wg_cloner);
sys/dev/wg/if_wg.c
2964
wg_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/dev/wg/if_wg.c
3065
wg_clone_destroy(struct if_clone *ifc, if_t ifp, uint32_t flags)
sys/dev/wg/if_wg.c
3265
struct if_clone *clone = VNET_VNET(vnet_iter, wg_cloner);
sys/dev/wg/if_wg.c
361
static int wg_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/dev/wg/if_wg.c
368
static int wg_clone_destroy(struct if_clone *ifc, if_t ifp,
sys/net/if_bridge.c
317
static int bridge_clone_create(struct if_clone *, char *, size_t,
sys/net/if_bridge.c
319
static int bridge_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_bridge.c
674
VNET_DEFINE_STATIC(struct if_clone *, bridge_cloner);
sys/net/if_bridge.c
850
bridge_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_bridge.c
933
bridge_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
107
LIST_ENTRY(if_clone) ifc_list; /* (e) On list of cloners */
sys/net/if_clone.c
112
static void if_clone_free(struct if_clone *ifc);
sys/net/if_clone.c
113
static int if_clone_createif_nl(struct if_clone *ifc, const char *name,
sys/net/if_clone.c
116
static int ifc_simple_match(struct if_clone *ifc, const char *name);
sys/net/if_clone.c
117
static int ifc_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit);
sys/net/if_clone.c
118
static struct if_clone *ifc_find_cloner(const char *name);
sys/net/if_clone.c
119
static struct if_clone *ifc_find_cloner_match(const char *name);
sys/net/if_clone.c
122
static int ifc_simple_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
124
static int ifc_advanced_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
131
VNET_DEFINE(LIST_HEAD(, if_clone), if_cloners) = LIST_HEAD_INITIALIZER();
sys/net/if_clone.c
192
struct if_clone *ifc = ifc_find_cloner_match(name);
sys/net/if_clone.c
214
struct if_clone *ifc = ifc_find_cloner_match(name);
sys/net/if_clone.c
242
struct if_clone *ifc = ifc_find_cloner(ifp->if_dname);
sys/net/if_clone.c
255
struct if_clone *ifc = ifc_find_cloner(ifp->if_dname);
sys/net/if_clone.c
264
ifc_create_ifp_nl_default(struct if_clone *ifc, char *name, size_t len,
sys/net/if_clone.c
296
ifc_link_ifp(struct if_clone *ifc, struct ifnet *ifp)
sys/net/if_clone.c
307
if_clone_addif(struct if_clone *ifc, struct ifnet *ifp)
sys/net/if_clone.c
313
ifc_unlink_ifp(struct if_clone *ifc, struct ifnet *ifp)
sys/net/if_clone.c
332
static struct if_clone *
sys/net/if_clone.c
335
struct if_clone *ifc;
sys/net/if_clone.c
347
static struct if_clone *
sys/net/if_clone.c
350
struct if_clone *ifc;
sys/net/if_clone.c
363
static struct if_clone *
sys/net/if_clone.c
367
struct if_clone *ifc = ifc_find_cloner(name);
sys/net/if_clone.c
377
if_clone_createif_nl(struct if_clone *ifc, const char *ifname, struct ifc_data_nl *ifd)
sys/net/if_clone.c
418
struct if_clone *ifc;
sys/net/if_clone.c
440
if_clone_destroyif_flags(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
468
if_clone_destroyif(struct if_clone *ifc, struct ifnet *ifp)
sys/net/if_clone.c
473
static struct if_clone *
sys/net/if_clone.c
476
struct if_clone *ifc;
sys/net/if_clone.c
481
ifc = malloc(sizeof(struct if_clone), M_CLONE, M_WAITOK | M_ZERO);
sys/net/if_clone.c
497
if_clone_attach(struct if_clone *ifc)
sys/net/if_clone.c
499
struct if_clone *ifc1;
sys/net/if_clone.c
515
struct if_clone *
sys/net/if_clone.c
519
struct if_clone *ifc;
sys/net/if_clone.c
553
ifc_detach_cloner(struct if_clone *ifc)
sys/net/if_clone.c
562
ifc_advanced_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
573
ifc_advanced_destroy_wrapper(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
580
struct if_clone *
sys/net/if_clone.c
584
struct if_clone *ifc;
sys/net/if_clone.c
602
ifc_simple_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
615
ifc_simple_destroy_wrapper(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
624
struct if_clone *
sys/net/if_clone.c
628
struct if_clone *ifc;
sys/net/if_clone.c
665
if_clone_detach(struct if_clone *ifc)
sys/net/if_clone.c
681
if_clone_free(struct if_clone *ifc)
sys/net/if_clone.c
699
struct if_clone *ifc;
sys/net/if_clone.c
758
struct if_clone *ifc;
sys/net/if_clone.c
824
ifc_alloc_unit_specific(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
846
ifc_alloc_unit_next(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
867
ifc_alloc_unit(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
876
ifc_free_unit(struct if_clone *ifc, int unit)
sys/net/if_clone.c
884
ifc_simple_match(struct if_clone *ifc, const char *name)
sys/net/if_clone.c
905
ifc_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit)
sys/net/if_clone.h
110
struct if_clone *ifc_attach_cloner(const char *name, struct if_clone_addreq *req);
sys/net/if_clone.h
111
void ifc_detach_cloner(struct if_clone *ifc);
sys/net/if_clone.h
118
void ifc_link_ifp(struct if_clone *ifc, struct ifnet *ifp);
sys/net/if_clone.h
119
bool ifc_unlink_ifp(struct if_clone *ifc, struct ifnet *ifp);
sys/net/if_clone.h
125
typedef int ifc_match_t(struct if_clone *, const char *);
sys/net/if_clone.h
126
typedef int ifc_create_t(struct if_clone *, char *, size_t, caddr_t);
sys/net/if_clone.h
127
typedef int ifc_destroy_t(struct if_clone *, struct ifnet *);
sys/net/if_clone.h
129
typedef int ifcs_create_t(struct if_clone *, int, caddr_t);
sys/net/if_clone.h
133
struct if_clone *
sys/net/if_clone.h
136
struct if_clone *
sys/net/if_clone.h
138
void if_clone_detach(struct if_clone *);
sys/net/if_clone.h
143
int ifc_alloc_unit(struct if_clone *, int *);
sys/net/if_clone.h
144
void ifc_free_unit(struct if_clone *, int);
sys/net/if_clone.h
147
typedef void (*if_clone_event_handler_t)(void *, struct if_clone *);
sys/net/if_clone.h
157
void if_clone_addif(struct if_clone *, struct ifnet *);
sys/net/if_clone.h
158
int if_clone_destroyif(struct if_clone *, struct ifnet *);
sys/net/if_clone.h
41
struct if_clone;
sys/net/if_clone.h
51
typedef int ifc_match_f(struct if_clone *ifc, const char *name);
sys/net/if_clone.h
52
typedef int ifc_create_f(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.h
54
typedef int ifc_destroy_f(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags);
sys/net/if_clone.h
71
typedef int ifc_create_nl_f(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_disc.c
71
static int disc_clone_create(struct if_clone *, int, caddr_t);
sys/net/if_disc.c
77
VNET_DEFINE_STATIC(struct if_clone *, disc_cloner);
sys/net/if_disc.c
81
disc_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sys/net/if_edsc.c
72
VNET_DEFINE_STATIC(struct if_clone *, edsc_cloner);
sys/net/if_edsc.c
74
static int edsc_clone_create(struct if_clone *, int, caddr_t);
sys/net/if_edsc.c
94
edsc_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sys/net/if_enc.c
144
enc_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_enc.c
162
enc_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_enc.c
91
VNET_DEFINE_STATIC(struct if_clone *, enc_cloner);
sys/net/if_enc.c
97
static int enc_clone_create(struct if_clone *, char *, size_t,
sys/net/if_enc.c
99
static int enc_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_epair.c
541
epair_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_epair.c
576
epair_clone_add(struct if_clone *ifc, struct epair_softc *scb)
sys/net/if_epair.c
594
epair_alloc_sc(struct if_clone *ifc)
sys/net/if_epair.c
722
epair_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit)
sys/net/if_epair.c
780
epair_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_epair.c
862
epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_epair.c
91
VNET_DEFINE_STATIC(struct if_clone *, epair_cloner);
sys/net/if_gif.c
113
static int gif_clone_create(struct if_clone *, int, caddr_t);
sys/net/if_gif.c
115
VNET_DEFINE_STATIC(struct if_clone *, gif_cloner);
sys/net/if_gif.c
138
gif_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sys/net/if_gre.c
111
static int gre_clone_create(struct if_clone *, char *, size_t,
sys/net/if_gre.c
113
static int gre_clone_destroy(struct if_clone *, struct ifnet *,
sys/net/if_gre.c
115
static int gre_clone_create_nl(struct if_clone *, char *, size_t,
sys/net/if_gre.c
119
VNET_DEFINE_STATIC(struct if_clone *, gre_cloner);
sys/net/if_gre.c
231
gre_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gre.c
352
gre_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gre.c
397
gre_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_ipsec.c
181
static int ipsec_clone_create(struct if_clone *, int, caddr_t);
sys/net/if_ipsec.c
184
VNET_DEFINE_STATIC(struct if_clone *, ipsec_cloner);
sys/net/if_ipsec.c
188
ipsec_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sys/net/if_lagg.c
117
static int lagg_clone_create(struct if_clone *, char *, size_t,
sys/net/if_lagg.c
119
static int lagg_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_lagg.c
120
VNET_DEFINE_STATIC(struct if_clone *, lagg_cloner);
sys/net/if_lagg.c
508
lagg_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_lagg.c
619
lagg_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_loop.c
102
lo_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_loop.c
120
lo_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_loop.c
96
VNET_DEFINE_STATIC(struct if_clone *, lo_cloner);
sys/net/if_me.c
109
static int me_clone_create(struct if_clone *, int, caddr_t);
sys/net/if_me.c
111
VNET_DEFINE_STATIC(struct if_clone *, me_cloner);
sys/net/if_me.c
188
me_clone_create(struct if_clone *ifc, int unit, caddr_t params)
sys/net/if_ovpn.c
233
VNET_DEFINE_STATIC(struct if_clone *, ovpn_cloner);
sys/net/if_ovpn.c
2689
ovpn_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_ovpn.c
2699
ovpn_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_ovpn.c
2797
ovpn_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_stf.c
216
VNET_DEFINE_STATIC(struct if_clone *, stf_cloner);
sys/net/if_stf.c
228
stf_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_stf.c
241
stf_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_stf.c
304
stf_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_tuntap.c
1298
struct if_clone *cloner;
sys/net/if_tuntap.c
241
static int tun_clone_match(struct if_clone *ifc, const char *name);
sys/net/if_tuntap.c
242
static int tap_clone_match(struct if_clone *ifc, const char *name);
sys/net/if_tuntap.c
243
static int vmnet_clone_match(struct if_clone *ifc, const char *name);
sys/net/if_tuntap.c
244
static int tun_clone_create(struct if_clone *, char *, size_t,
sys/net/if_tuntap.c
246
static int tun_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_tuntap.c
339
VNET_DEFINE_STATIC(struct if_clone *, tuntap_driver_cloners[NDRV]);
sys/net/if_tuntap.c
450
static struct if_clone *
sys/net/if_tuntap.c
480
tun_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_tuntap.c
493
tap_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_tuntap.c
506
vmnet_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_tuntap.c
523
tun_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_tuntap.c
713
tun_clone_destroy(struct if_clone *ifc __unused, struct ifnet *ifp, uint32_t flags)
sys/net/if_vlan.c
1032
vlan_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_vlan.c
1054
vlan_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
1237
vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
1378
vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_vlan.c
322
static int vlan_clone_match(struct if_clone *, const char *);
sys/net/if_vlan.c
323
static int vlan_clone_create(struct if_clone *, char *, size_t,
sys/net/if_vlan.c
325
static int vlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_vlan.c
327
static int vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
338
static struct if_clone *vlan_cloner;
sys/net/if_vlan.c
341
VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner);
sys/net/if_vxlan.c
3209
vxlan_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vxlan.c
3276
vxlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_vxlan.c
377
static int vxlan_clone_create(struct if_clone *, char *, size_t,
sys/net/if_vxlan.c
379
static int vxlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_vxlan.c
416
static struct if_clone *vxlan_cloner;
sys/net80211/ieee80211_freebsd.c
116
wlan_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net80211/ieee80211_freebsd.c
172
wlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net80211/ieee80211_freebsd.c
77
static struct if_clone *wlan_cloner;
sys/netpfil/pf/if_pflog.c
100
VNET_DEFINE_STATIC(struct if_clone *, pflog_cloner);
sys/netpfil/pf/if_pflog.c
150
pflog_clone_create(struct if_clone *ifc, char *name, size_t maxlen,
sys/netpfil/pf/if_pflog.c
179
pflog_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/netpfil/pf/if_pflog.c
94
static int pflog_clone_create(struct if_clone *, char *, size_t,
sys/netpfil/pf/if_pflog.c
96
static int pflog_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/netpfil/pf/if_pfsync.c
340
static int pfsync_clone_create(struct if_clone *, int, caddr_t);
sys/netpfil/pf/if_pfsync.c
382
VNET_DEFINE(struct if_clone *, pfsync_cloner);
sys/netpfil/pf/if_pfsync.c
389
pfsync_clone_create(struct if_clone *ifc, int unit, caddr_t param)