| /freebsd-12.1/sys/net/ |
| H A D | if_clone.h | 42 struct if_clone; 53 struct if_clone * 56 struct if_clone * 58 void if_clone_detach(struct if_clone *); 62 int ifc_alloc_unit(struct if_clone *, int *); 63 void ifc_free_unit(struct if_clone *, int); 64 const char *ifc_name(struct if_clone *); 65 void ifc_flags_set(struct if_clone *, int flags); 66 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 | 168 static int stf_clone_match(struct if_clone *, const char *); 169 static int stf_clone_create(struct if_clone *, char *, size_t, caddr_t); 170 static int stf_clone_destroy(struct if_clone *, struct ifnet *); 171 static struct if_clone *stf_cloner; 182 stf_clone_match(struct if_clone *ifc, const char *name) in stf_clone_match() 195 stf_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in stf_clone_create() 266 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 | 105 static int epair_clone_match(struct if_clone *, const char *); 106 static int epair_clone_create(struct if_clone *, char *, size_t, caddr_t); 107 static int epair_clone_destroy(struct if_clone *, struct ifnet *); 183 VNET_DEFINE_STATIC(struct if_clone *, epair_cloner); 689 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match() 715 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() 730 epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in epair_clone_create() 918 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in epair_clone_destroy()
|
| H A D | if_tun.c | 134 static int tun_clone_match(struct if_clone *ifc, const char *name); 135 static int tun_clone_create(struct if_clone *, char *, size_t, caddr_t); 136 static int tun_clone_destroy(struct if_clone *, struct ifnet *); 138 VNET_DEFINE_STATIC(struct if_clone *, tun_cloner); 181 tun_clone_match(struct if_clone *ifc, const char *name) in tun_clone_match() 191 tun_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in tun_clone_create() 304 tun_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in tun_clone_destroy()
|
| H A D | if_enc.c | 91 VNET_DEFINE_STATIC(struct if_clone *, enc_cloner); 97 static int enc_clone_create(struct if_clone *, int, caddr_t); 155 enc_clone_create(struct if_clone *ifc, int unit, caddr_t params) in enc_clone_create()
|
| H A D | if_tap.c | 103 static int tap_clone_create(struct if_clone *, int, caddr_t); 105 static struct if_clone *tap_cloner; 106 static int vmnet_clone_create(struct if_clone *, int, caddr_t); 108 static struct if_clone *vmnet_cloner; 186 tap_clone_create(struct if_clone *ifc, int unit, caddr_t params) in tap_clone_create() 204 vmnet_clone_create(struct if_clone *ifc, int unit, caddr_t params) in vmnet_clone_create()
|
| H A D | iflib_clone.c | 105 struct if_clone *ip_ifc; 171 iflib_clone_create(struct if_clone *ifc, int unit, caddr_t params) in iflib_clone_create()
|
| H A D | iflib_private.h | 57 struct if_clone *cc_ifc;
|
| H A D | if_vlan.c | 292 static int vlan_clone_match(struct if_clone *, const char *); 293 static int vlan_clone_create(struct if_clone *, char *, size_t, caddr_t); 294 static int vlan_clone_destroy(struct if_clone *, struct ifnet *); 301 static struct if_clone *vlan_cloner; 304 VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner); 942 vlan_clone_match(struct if_clone *ifc, const char *name) in vlan_clone_match() 960 vlan_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in vlan_clone_create() 1088 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in vlan_clone_destroy()
|
| H A D | if_gif.c | 111 static int gif_clone_create(struct if_clone *, int, caddr_t); 113 VNET_DEFINE_STATIC(struct if_clone *, gif_cloner); 136 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, 222 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); 187 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); 170 gre_clone_create(struct if_clone *ifc, int unit, caddr_t params) in gre_clone_create()
|
| H A D | if_ipsec.c | 178 static int ipsec_clone_create(struct if_clone *, int, caddr_t); 181 VNET_DEFINE_STATIC(struct if_clone *, ipsec_cloner); 185 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_lagg.c | 109 static int lagg_clone_create(struct if_clone *, int, caddr_t); 111 VNET_DEFINE_STATIC(struct if_clone *, lagg_cloner); 476 lagg_clone_create(struct if_clone *ifc, int unit, caddr_t params) in lagg_clone_create()
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 53 VNET_DEFINE_STATIC(struct if_clone *, ipfw_cloner); 54 VNET_DEFINE_STATIC(struct if_clone *, ipfwlog_cloner); 106 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfw_clone_create() 135 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) in ipfwlog_clone_create()
|
| /freebsd-12.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-12.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()
|
| /freebsd-12.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-12.1/sys/net80211/ |
| H A D | ieee80211_freebsd.c | 72 static struct if_clone *wlan_cloner; 75 wlan_clone_create(struct if_clone *ifc, int unit, caddr_t params) in wlan_clone_create()
|