diff options
author | harti <harti@FreeBSD.org> | 2003-07-15 10:37:09 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-15 10:37:09 +0000 |
commit | 2a47fc8b0be63f17e8b84f15ef840181c2edd374 (patch) | |
tree | 9b66f55bc2a3c18effc3cfffee5f4ca6309768ca /sys/net/if_atm.h | |
parent | dadf9247dd385b9f1597c2b9a1838f1a53ed1400 (diff) | |
download | FreeBSD-src-2a47fc8b0be63f17e8b84f15ef840181c2edd374.zip FreeBSD-src-2a47fc8b0be63f17e8b84f15ef840181c2edd374.tar.gz |
Implement an utility function that can be used by device drivers to
implement the ATMIOCGVCCS ioctls. This routine handles changing
VCC tables (which can occure because we cannot hold the driver mutex
while allocating memory) with a loop and a re-allocation, should the
table not fit in the allocated memory.
Diffstat (limited to 'sys/net/if_atm.h')
-rw-r--r-- | sys/net/if_atm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index dc9fc6e..179caad 100644 --- a/sys/net/if_atm.h +++ b/sys/net/if_atm.h @@ -268,4 +268,6 @@ void atm_input(struct ifnet *, struct atm_pseudohdr *, struct mbuf *, void *); int atm_output(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *); +struct atmio_vcctable *atm_getvccs(struct atmio_vcc **, u_int, u_int, + struct mtx *, int); #endif |