| /freebsd-13.1/sys/net/ |
| H A D | if_clone.h | 44 struct if_clone; 55 struct if_clone * 58 struct if_clone * 60 void if_clone_detach(struct if_clone *); 64 int ifc_alloc_unit(struct if_clone *, int *); 65 void ifc_free_unit(struct if_clone *, int); 66 const char *ifc_name(struct if_clone *); 67 void ifc_flags_set(struct if_clone *, int flags); 68 int ifc_flags_get(struct if_clone *); 79 struct if_clone *if_clone_findifc(struct ifnet *); [all …]
|
| H A D | if_clone.c | 66 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 D | if_edsc.c | 75 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 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_stf.c | 170 static int stf_clone_match(struct if_clone *, const char *); 171 static int stf_clone_create(struct if_clone *, char *, size_t, caddr_t); 172 static int stf_clone_destroy(struct if_clone *, struct ifnet *); 173 VNET_DEFINE_STATIC(struct if_clone *, stf_cloner); 185 stf_clone_match(struct if_clone *ifc, const char *name) in stf_clone_match() 198 stf_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in stf_clone_create() 269 stf_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in stf_clone_destroy()
|
| H A D | if_loop.c | 96 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 D | if_epair.c | 81 static int epair_clone_match(struct if_clone *, const char *); 82 static int epair_clone_create(struct if_clone *, char *, size_t, caddr_t); 83 static int epair_clone_destroy(struct if_clone *, struct ifnet *); 91 VNET_DEFINE_STATIC(struct if_clone *, epair_cloner); 437 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match() 461 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() 476 epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in epair_clone_create() 704 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in epair_clone_destroy()
|
| H A D | if_enc.c | 92 VNET_DEFINE_STATIC(struct if_clone *, enc_cloner); 98 static int enc_clone_create(struct if_clone *, int, caddr_t); 159 enc_clone_create(struct if_clone *ifc, int unit, caddr_t params) in enc_clone_create()
|
| H A D | if_tuntap.c | 235 static int tun_clone_match(struct if_clone *ifc, const char *name); 236 static int tap_clone_match(struct if_clone *ifc, const char *name); 237 static int vmnet_clone_match(struct if_clone *ifc, const char *name); 238 static int tun_clone_create(struct if_clone *, char *, size_t, caddr_t); 239 static int tun_clone_destroy(struct if_clone *, struct ifnet *); 332 struct if_clone *cloner; 478 tun_clone_match(struct if_clone *ifc, const char *name) in tun_clone_match() 491 tap_clone_match(struct if_clone *ifc, const char *name) in tap_clone_match() 504 vmnet_clone_match(struct if_clone *ifc, const char *name) in vmnet_clone_match() 517 tun_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in tun_clone_create() [all …]
|
| H A D | iflib_clone.c | 102 struct if_clone *ip_ifc; 168 iflib_clone_create(struct if_clone *ifc, int unit, caddr_t params) in iflib_clone_create()
|
| H A D | iflib_private.h | 51 struct if_clone *cc_ifc;
|
| H A D | if_vlan.c | 323 static int vlan_clone_match(struct if_clone *, const char *); 324 static int vlan_clone_create(struct if_clone *, char *, size_t, caddr_t); 325 static int vlan_clone_destroy(struct if_clone *, struct ifnet *); 332 static struct if_clone *vlan_cloner; 335 VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner); 965 vlan_clone_match(struct if_clone *ifc, const char *name) in vlan_clone_match() 987 vlan_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in vlan_clone_create() 1157 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in vlan_clone_destroy()
|
| H A D | if_gif.c | 114 static int gif_clone_create(struct if_clone *, int, caddr_t); 116 VNET_DEFINE_STATIC(struct if_clone *, gif_cloner); 139 gif_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gif_clone_create()
|
| H A D | ifdi_if.m | 42 #include <net/if_clone.h> 144 null_cloneattach(if_ctx_t ctx __unused, struct if_clone *ifc __unused, 228 struct if_clone *_ifc;
|
| H A D | if_me.c | 111 static int me_clone_create(struct if_clone *, int, caddr_t); 113 VNET_DEFINE_STATIC(struct if_clone *, me_cloner); 190 me_clone_create(struct if_clone *ifc, int unit, caddr_t params) in me_clone_create()
|
| H A D | if_gre.c | 105 static int gre_clone_create(struct if_clone *, int, caddr_t); 107 VNET_DEFINE_STATIC(struct if_clone *, gre_cloner); 173 gre_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gre_clone_create()
|
| H A D | if_ipsec.c | 182 static int ipsec_clone_create(struct if_clone *, int, caddr_t); 185 VNET_DEFINE_STATIC(struct if_clone *, ipsec_cloner); 189 ipsec_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipsec_clone_create()
|
| H A D | iflib.h | 39 struct if_clone;
|
| H A D | if.c | 275 static void if_attach_internal(struct ifnet *, int, struct if_clone *); 276 static int if_detach_internal(struct ifnet *, int, struct if_clone **); 868 if_attach_internal(struct ifnet *ifp, int vmove, struct if_clone *ifc) in if_attach_internal() 1154 if_detach_internal(struct ifnet *ifp, int vmove, struct if_clone **ifcp) in if_detach_internal() 1314 struct if_clone *ifc; in if_vmove()
|
| /freebsd-13.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 52 VNET_DEFINE_STATIC(struct if_clone *, ipfw_cloner); 53 VNET_DEFINE_STATIC(struct if_clone *, ipfwlog_cloner); 95 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfw_clone_create() 121 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfwlog_clone_create()
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_pf.c | 72 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-13.1/sys/netpfil/pf/ |
| H A D | if_pflog.c | 94 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()
|
| H A D | if_pfsync.c | 286 static int pfsync_clone_create(struct if_clone *, int, caddr_t); 321 VNET_DEFINE(struct if_clone *, pfsync_cloner); 325 pfsync_clone_create(struct if_clone *ifc, int unit, caddr_t param) in pfsync_clone_create()
|
| /freebsd-13.1/sys/dev/cxgbe/ |
| H A D | t4_tracer.c | 88 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-13.1/sys/net80211/ |
| H A D | ieee80211_freebsd.c | 76 static struct if_clone *wlan_cloner; 115 wlan_clone_create(struct if_clone *ifc, int unit, caddr_t params) in wlan_clone_create()
|