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
476
if_clone_destroyif(struct if_clone *ifc, struct ifnet *ifp)
sys/net/if_clone.c
486
static struct if_clone *
sys/net/if_clone.c
489
struct if_clone *ifc;
sys/net/if_clone.c
494
ifc = malloc(sizeof(struct if_clone), M_CLONE, M_WAITOK | M_ZERO);
sys/net/if_clone.c
510
if_clone_attach(struct if_clone *ifc)
sys/net/if_clone.c
512
struct if_clone *ifc1;
sys/net/if_clone.c
528
struct if_clone *
sys/net/if_clone.c
532
struct if_clone *ifc;
sys/net/if_clone.c
566
ifc_detach_cloner(struct if_clone *ifc)
sys/net/if_clone.c
575
ifc_advanced_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
586
ifc_advanced_destroy_wrapper(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
593
struct if_clone *
sys/net/if_clone.c
597
struct if_clone *ifc;
sys/net/if_clone.c
615
ifc_simple_create_wrapper(struct if_clone *ifc, char *name, size_t maxlen,
sys/net/if_clone.c
628
ifc_simple_destroy_wrapper(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_clone.c
637
struct if_clone *
sys/net/if_clone.c
641
struct if_clone *ifc;
sys/net/if_clone.c
678
if_clone_detach(struct if_clone *ifc)
sys/net/if_clone.c
696
if_clone_free(struct if_clone *ifc)
sys/net/if_clone.c
714
struct if_clone *ifc;
sys/net/if_clone.c
773
struct if_clone *ifc;
sys/net/if_clone.c
839
ifc_alloc_unit_specific(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
861
ifc_alloc_unit_next(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
882
ifc_alloc_unit(struct if_clone *ifc, int *unit)
sys/net/if_clone.c
891
ifc_free_unit(struct if_clone *ifc, int unit)
sys/net/if_clone.c
899
ifc_simple_match(struct if_clone *ifc, const char *name)
sys/net/if_clone.c
920
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
545
epair_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_epair.c
580
epair_clone_add(struct if_clone *ifc, struct epair_softc *scb)
sys/net/if_epair.c
598
epair_alloc_sc(struct if_clone *ifc)
sys/net/if_epair.c
727
epair_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit)
sys/net/if_epair.c
785
epair_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_epair.c
867
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_geneve.c
3370
geneve_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_geneve.c
3555
geneve_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_geneve.c
3633
geneve_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_geneve.c
3949
struct if_clone *clone;
sys/net/if_geneve.c
462
static int geneve_clone_create(struct if_clone *, char *, size_t,
sys/net/if_geneve.c
464
static int geneve_clone_destroy(struct if_clone *, struct ifnet *,
sys/net/if_geneve.c
466
static int geneve_clone_create_nl(struct if_clone *, char *, size_t,
sys/net/if_geneve.c
504
VNET_DEFINE_STATIC(struct if_clone *, geneve_cloner);
sys/net/if_gif.c
120
static int gif_clone_create(struct if_clone *, char *, size_t,
sys/net/if_gif.c
122
static int gif_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_gif.c
123
static int gif_clone_create_nl(struct if_clone *, char *, size_t,
sys/net/if_gif.c
132
VNET_DEFINE_STATIC(struct if_clone *, gif_cloner);
sys/net/if_gif.c
174
gif_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gif.c
291
gif_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gif.c
339
gif_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_gre.c
113
static int gre_clone_create(struct if_clone *, char *, size_t,
sys/net/if_gre.c
115
static int gre_clone_destroy(struct if_clone *, struct ifnet *,
sys/net/if_gre.c
117
static int gre_clone_create_nl(struct if_clone *, char *, size_t,
sys/net/if_gre.c
121
VNET_DEFINE_STATIC(struct if_clone *, gre_cloner);
sys/net/if_gre.c
235
gre_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gre.c
367
gre_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_gre.c
412
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
101
lo_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_loop.c
119
lo_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_loop.c
95
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
2690
ovpn_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_ovpn.c
2700
ovpn_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_ovpn.c
2798
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
1022
vlan_clone_match(struct if_clone *ifc, const char *name)
sys/net/if_vlan.c
1044
vlan_clone_create(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
1227
vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
1368
vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags)
sys/net/if_vlan.c
312
static int vlan_clone_match(struct if_clone *, const char *);
sys/net/if_vlan.c
313
static int vlan_clone_create(struct if_clone *, char *, size_t,
sys/net/if_vlan.c
315
static int vlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
sys/net/if_vlan.c
317
static int vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
sys/net/if_vlan.c
328
static struct if_clone *vlan_cloner;
sys/net/if_vlan.c
331
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_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)