Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/net/if.h 128871 2004-05-03 13:48:35Z andre $
---
> * $FreeBSD: head/sys/net/if.h 130933 2004-06-22 20:13:25Z brooks $
63,84d62
<
< #ifdef _KERNEL
< /*
< * Structure describing a `cloning' interface.
< */
< struct if_clone {
< LIST_ENTRY(if_clone) ifc_list; /* on list of cloners */
< const char *ifc_name; /* name of device, e.g. `gif' */
< size_t ifc_namelen; /* length of name */
< int ifc_minifs; /* minimum number of interfaces */
< int ifc_maxunit; /* maximum unit number */
< unsigned char *ifc_units; /* bitmap to handle units */
< int ifc_bmlen; /* bitmap length */
<
< int (*ifc_create)(struct if_clone *, int);
< void (*ifc_destroy)(struct ifnet *);
< };
<
< #define IF_CLONE_INITIALIZER(name, create, destroy, minifs, maxunit) \
< { { 0 }, name, sizeof(name) - 1, minifs, maxunit, NULL, 0, create, destroy }
< #endif
<