| /freebsd-14.2/sys/net/ |
| H A D | if_clone.h | 43 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 D | if_clone.c | 71 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 D | if_edsc.c | 74 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 D | if_disc.c | 73 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 D | if_enc.c | 91 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 D | if_epair.c | 90 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 D | if_loop.c | 98 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 D | if_tuntap.c | 237 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 D | if_vlan.c | 321 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 D | if_gif.c | 113 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 D | if_stf.c | 217 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 D | if_gre.c | 104 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 D | if_me.c | 110 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 D | if_ipsec.c | 181 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 D | if_lagg.c | 115 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 D | if_bridge.c | 306 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 D | if_ovpn.c | 221 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 D | if_vxlan.c | 378 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 D | ip_fw_bpf.c | 51 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 D | if_pflog.c | 93 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 D | if_pfsync.c | 331 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 D | usb_pf.c | 71 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 D | t4_tracer.c | 86 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 D | ieee80211_freebsd.c | 75 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 D | if_wg.c | 278 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()
|