| /f-stack/freebsd/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 static struct if_clone *stf_cloner; 184 stf_clone_match(struct if_clone *ifc, const char *name) in stf_clone_match() 197 stf_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in stf_clone_create() 268 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 | 106 static int epair_clone_match(struct if_clone *, const char *); 107 static int epair_clone_create(struct if_clone *, char *, size_t, caddr_t); 108 static int epair_clone_destroy(struct if_clone *, struct ifnet *); 185 VNET_DEFINE_STATIC(struct if_clone *, epair_cloner); 690 epair_clone_match(struct if_clone *ifc, const char *name) in epair_clone_match() 716 epair_clone_add(struct if_clone *ifc, struct epair_softc *scb) in epair_clone_add() 731 epair_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in epair_clone_create() 919 epair_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in epair_clone_destroy()
|
| H A D | iflib_private.h | 51 struct if_clone *cc_ifc;
|
| 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 | iflib_clone.c | 104 struct if_clone *ip_ifc; 170 iflib_clone_create(struct if_clone *ifc, int unit, caddr_t params) in iflib_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 | 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 | if_vlan.c | 316 static int vlan_clone_match(struct if_clone *, const char *); 317 static int vlan_clone_create(struct if_clone *, char *, size_t, caddr_t); 318 static int vlan_clone_destroy(struct if_clone *, struct ifnet *); 325 static struct if_clone *vlan_cloner; 328 VNET_DEFINE_STATIC(struct if_clone *, vlan_cloner); 955 vlan_clone_match(struct if_clone *ifc, const char *name) in vlan_clone_match() 977 vlan_clone_create(struct if_clone *ifc, char *name, size_t len, caddr_t params) in vlan_clone_create() 1133 vlan_clone_destroy(struct if_clone *ifc, struct ifnet *ifp) in vlan_clone_destroy()
|
| 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 **); 858 if_attach_internal(struct ifnet *ifp, int vmove, struct if_clone *ifc) in if_attach_internal() 1144 if_detach_internal(struct ifnet *ifp, int vmove, struct if_clone **ifcp) in if_detach_internal() 1304 struct if_clone *ifc; in if_vmove()
|
| H A D | if_lagg.c | 120 static int lagg_clone_create(struct if_clone *, int, caddr_t); 122 VNET_DEFINE_STATIC(struct if_clone *, lagg_cloner); 506 lagg_clone_create(struct if_clone *ifc, int unit, caddr_t params) in lagg_clone_create()
|
| /f-stack/freebsd/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()
|
| /f-stack/freebsd/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); 320 VNET_DEFINE(struct if_clone *, pfsync_cloner); 324 pfsync_clone_create(struct if_clone *ifc, int unit, caddr_t param) in pfsync_clone_create()
|
| /f-stack/freebsd/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()
|
| /f-stack/lib/ |
| H A D | Makefile | 352 if_clone.c \
|