summaryrefslogtreecommitdiff
path: root/sys/net/if_clone.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2006-07-09 06:04:01 +0000
committerSam Leffler <sam@FreeBSD.org>2006-07-09 06:04:01 +0000
commit6b7330e2d4efaad175df97ceea09059169746b28 (patch)
tree9d7fca708f49f055d33f7ea0b8387e3b17763e09 /sys/net/if_clone.h
parentd830256f33e6ac6639eb3ac3d017c6210aa6f542 (diff)
downloadsrc-test2-6b7330e2d4efaad175df97ceea09059169746b28.tar.gz
src-test2-6b7330e2d4efaad175df97ceea09059169746b28.zip
Notes
Diffstat (limited to 'sys/net/if_clone.h')
-rw-r--r--sys/net/if_clone.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_clone.h b/sys/net/if_clone.h
index 38a09598a3e1..af3395fe7e6a 100644
--- a/sys/net/if_clone.h
+++ b/sys/net/if_clone.h
@@ -61,7 +61,7 @@ struct if_clone {
/* (c) Driver specific cloning functions. Called with no locks held. */
void (*ifc_attach)(struct if_clone *);
int (*ifc_match)(struct if_clone *, const char *);
- int (*ifc_create)(struct if_clone *, char *, size_t);
+ int (*ifc_create)(struct if_clone *, char *, size_t, caddr_t);
int (*ifc_destroy)(struct if_clone *, struct ifnet *);
long ifc_refcnt; /* (i) Refrence count. */
@@ -73,7 +73,7 @@ void if_clone_init(void);
void if_clone_attach(struct if_clone *);
void if_clone_detach(struct if_clone *);
-int if_clone_create(char *, size_t);
+int if_clone_create(char *, size_t, caddr_t);
int if_clone_destroy(const char *);
int if_clone_list(struct if_clonereq *);
@@ -89,7 +89,7 @@ void ifc_free_unit(struct if_clone *, int);
struct ifc_simple_data {
int ifcs_minifs; /* minimum number of interfaces */
- int (*ifcs_create)(struct if_clone *, int);
+ int (*ifcs_create)(struct if_clone *, int, caddr_t);
void (*ifcs_destroy)(struct ifnet *);
};
@@ -106,7 +106,7 @@ struct if_clone name##_cloner = \
void ifc_simple_attach(struct if_clone *);
int ifc_simple_match(struct if_clone *, const char *);
-int ifc_simple_create(struct if_clone *, char *, size_t);
+int ifc_simple_create(struct if_clone *, char *, size_t, caddr_t);
int ifc_simple_destroy(struct if_clone *, struct ifnet *);
#endif /* _KERNEL */