Home
last modified time | relevance | path

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

12

/freebsd-14.2/sys/net/
H A Dif_clone.h43 struct if_clone;
113 void ifc_detach_cloner(struct if_clone *ifc);
120 void ifc_link_ifp(struct if_clone *ifc, struct ifnet *ifp);
127 typedef int ifc_match_t(struct if_clone *, const char *);
135 struct if_clone *
138 struct if_clone *
140 void if_clone_detach(struct if_clone *);
145 int ifc_alloc_unit(struct if_clone *, int *);
146 void ifc_free_unit(struct if_clone *, int);
160 void if_clone_addif(struct if_clone *, struct ifnet *);
[all …]
H A Dif_clone.c71 struct if_clone { struct
344 struct if_clone *ifc; in ifc_find_cloner_match()
359 struct if_clone *ifc; in ifc_find_cloner()
427 struct if_clone *ifc; in if_clone_destroy()
485 struct if_clone *ifc; in if_clone_alloc()
524 struct if_clone *
528 struct if_clone *ifc; in ifc_attach_cloner()
588 struct if_clone *
592 struct if_clone *ifc; in if_clone_advanced()
632 struct if_clone *
[all …]
H A Dif_edsc.c74 VNET_DEFINE_STATIC(struct if_clone *, edsc_cloner);
76 static int edsc_clone_create(struct if_clone *, int, caddr_t);
96 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_enc.c91 VNET_DEFINE_STATIC(struct if_clone *, enc_cloner);
97 static int enc_clone_create(struct if_clone *, char *, size_t,
99 static int enc_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
144 enc_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in enc_clone_destroy()
162 enc_clone_create(struct if_clone *ifc, char *name, size_t len, in enc_clone_create()
H A Dif_epair.c90 VNET_DEFINE_STATIC(struct if_clone *, epair_cloner);
475 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match()
499 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add()
514 epair_alloc_sc(struct if_clone *ifc) in epair_alloc_sc()
638 epair_handle_unit(struct if_clone *ifc, char *name, size_t len, int *punit) in epair_handle_unit()
696 epair_clone_create(struct if_clone *ifc, char *name, size_t len, in epair_clone_create()
775 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in epair_clone_destroy()
H A Dif_loop.c98 VNET_DEFINE_STATIC(struct if_clone *, lo_cloner);
104 lo_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in lo_clone_destroy()
122 lo_clone_create(struct if_clone *ifc, char *name, size_t len, in lo_clone_create()
H A Dif_tuntap.c237 static int tun_clone_match(struct if_clone *ifc, const char *name);
238 static int tap_clone_match(struct if_clone *ifc, const char *name);
239 static int vmnet_clone_match(struct if_clone *ifc, const char *name);
240 static int tun_clone_create(struct if_clone *, char *, size_t,
242 static int tun_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
335 struct if_clone *cloner;
481 tun_clone_match(struct if_clone *ifc, const char *name) in tun_clone_match()
494 tap_clone_match(struct if_clone *ifc, const char *name) in tap_clone_match()
507 vmnet_clone_match(struct if_clone *ifc, const char *name) in vmnet_clone_match()
520 tun_clone_create(struct if_clone *ifc, char *name, size_t len, in tun_clone_create()
[all …]
H A Dif_vlan.c321 static int vlan_clone_match(struct if_clone *, const char *);
322 static int vlan_clone_create(struct if_clone *, char *, size_t,
324 static int vlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
326 static int vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len,
337 static struct if_clone *vlan_cloner;
340 VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner);
1043 vlan_clone_match(struct if_clone *ifc, const char *name) in vlan_clone_match()
1065 vlan_clone_create(struct if_clone *ifc, char *name, size_t len, in vlan_clone_create()
1248 vlan_clone_create_nl(struct if_clone *ifc, char *name, size_t len, in vlan_clone_create_nl()
1381 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in vlan_clone_destroy()
H A Dif_gif.c113 static int gif_clone_create(struct if_clone *, int, caddr_t);
115 VNET_DEFINE_STATIC(struct if_clone *, gif_cloner);
138 gif_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gif_clone_create()
H A Dif_stf.c217 VNET_DEFINE_STATIC(struct if_clone *, stf_cloner);
229 stf_clone_match(struct if_clone *ifc, const char *name) in stf_clone_match()
242 stf_clone_create(struct if_clone *ifc, char *name, size_t len, in stf_clone_create()
305 stf_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in stf_clone_destroy()
H A Dif_gre.c104 static int gre_clone_create(struct if_clone *, int, caddr_t);
106 VNET_DEFINE_STATIC(struct if_clone *, gre_cloner);
172 gre_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gre_clone_create()
H A Dif_me.c110 static int me_clone_create(struct if_clone *, int, caddr_t);
112 VNET_DEFINE_STATIC(struct if_clone *, me_cloner);
189 me_clone_create(struct if_clone *ifc, int unit, caddr_t params) in me_clone_create()
H A Dif_ipsec.c181 static int ipsec_clone_create(struct if_clone *, int, caddr_t);
184 VNET_DEFINE_STATIC(struct if_clone *, ipsec_cloner);
188 ipsec_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipsec_clone_create()
H A Dif_lagg.c115 static int lagg_clone_create(struct if_clone *, char *, size_t,
117 static int lagg_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
118 VNET_DEFINE_STATIC(struct if_clone *, lagg_cloner);
505 lagg_clone_create(struct if_clone *ifc, char *name, size_t len, in lagg_clone_create()
616 lagg_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in lagg_clone_destroy()
H A Dif_bridge.c306 static int bridge_clone_create(struct if_clone *, char *, size_t,
308 static int bridge_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
613 VNET_DEFINE_STATIC(struct if_clone *, bridge_cloner);
749 bridge_clone_create(struct if_clone *ifc, char *name, size_t len, in bridge_clone_create()
832 bridge_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in bridge_clone_destroy()
H A Dif_ovpn.c221 VNET_DEFINE_STATIC(struct if_clone *, ovpn_cloner);
2415 ovpn_clone_match(struct if_clone *ifc, const char *name) in ovpn_clone_match()
2425 ovpn_clone_create(struct if_clone *ifc, char *name, size_t len, in ovpn_clone_create()
2513 ovpn_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in ovpn_clone_destroy()
H A Dif_vxlan.c378 static int vxlan_clone_create(struct if_clone *, char *, size_t,
380 static int vxlan_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
417 static struct if_clone *vxlan_cloner;
3203 vxlan_clone_create(struct if_clone *ifc, char *name, size_t len, in vxlan_clone_create()
3270 vxlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in vxlan_clone_destroy()
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_fw_bpf.c51 VNET_DEFINE_STATIC(struct if_clone *, ipfw_cloner);
52 VNET_DEFINE_STATIC(struct if_clone *, ipfwlog_cloner);
94 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfw_clone_create()
118 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfwlog_clone_create()
/freebsd-14.2/sys/netpfil/pf/
H A Dif_pflog.c93 static int pflog_clone_create(struct if_clone *, char *, size_t,
95 static int pflog_clone_destroy(struct if_clone *, struct ifnet *, uint32_t);
99 VNET_DEFINE_STATIC(struct if_clone *, pflog_cloner);
125 pflog_clone_create(struct if_clone *ifc, char *name, size_t maxlen, in pflog_clone_create()
151 pflog_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in pflog_clone_destroy()
H A Dif_pfsync.c331 static int pfsync_clone_create(struct if_clone *, int, caddr_t);
373 VNET_DEFINE(struct if_clone *, pfsync_cloner);
380 pfsync_clone_create(struct if_clone *ifc, int unit, caddr_t param) in pfsync_clone_create()
/freebsd-14.2/sys/dev/usb/
H A Dusb_pf.c71 static int usbpf_clone_match(struct if_clone *, const char *);
72 static int usbpf_clone_create(struct if_clone *, char *, size_t,
74 static int usbpf_clone_destroy(struct if_clone *, if_t, uint32_t);
81 static struct if_clone *usbpf_cloner;
157 usbpf_clone_match(struct if_clone *ifc, const char *name) in usbpf_clone_match()
171 usbpf_clone_create(struct if_clone *ifc, char *name, size_t len, in usbpf_clone_create()
217 usbpf_clone_destroy(struct if_clone *ifc, if_t ifp, uint32_t flags) in usbpf_clone_destroy()
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_tracer.c86 static struct if_clone *t4_cloner;
123 t4_cloner_match(struct if_clone *ifc, const char *name) in t4_cloner_match()
136 t4_cloner_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in t4_cloner_create()
198 t4_cloner_destroy(struct if_clone *ifc, if_t ifp) in t4_cloner_destroy()
/freebsd-14.2/sys/net80211/
H A Dieee80211_freebsd.c75 static struct if_clone *wlan_cloner;
114 wlan_clone_create(struct if_clone *ifc, char *name, size_t len, in wlan_clone_create()
170 wlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp, uint32_t flags) in wlan_clone_destroy()
/freebsd-14.2/sys/dev/wg/
H A Dif_wg.c278 VNET_DEFINE_STATIC(struct if_clone *, wg_cloner);
357 static int wg_clone_create(struct if_clone *ifc, char *name, size_t len,
364 static int wg_clone_destroy(struct if_clone *ifc, if_t ifp,
2859 wg_clone_create(struct if_clone *ifc, char *name, size_t len, in wg_clone_create()
2960 wg_clone_destroy(struct if_clone *ifc, if_t ifp, uint32_t flags) in wg_clone_destroy()
3160 struct if_clone *clone = VNET_VNET(vnet_iter, wg_cloner); in wg_module_deinit()

12