async.h (91623) | async.h (93418) |
---|---|
1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/usr.sbin/ppp/async.h 91623 2002-03-04 10:08:57Z brian $ | 26 * $FreeBSD: head/usr.sbin/ppp/async.h 93418 2002-03-30 12:30:09Z brian $ |
27 */ 28 29#define HDLCSIZE (MAX_MRU*2+6) 30 31struct async { 32 int mode; 33 int length; 34 u_char hbuff[HDLCSIZE]; /* recv buffer */ --- 8 unchanged lines hidden (view full) --- 43 44struct lcp; 45struct mbuf; 46struct physical; 47struct bundle; 48 49extern void async_Init(struct async *); 50extern void async_Setup(struct async *); | 27 */ 28 29#define HDLCSIZE (MAX_MRU*2+6) 30 31struct async { 32 int mode; 33 int length; 34 u_char hbuff[HDLCSIZE]; /* recv buffer */ --- 8 unchanged lines hidden (view full) --- 43 44struct lcp; 45struct mbuf; 46struct physical; 47struct bundle; 48 49extern void async_Init(struct async *); 50extern void async_Setup(struct async *); |
51extern void async_SetLinkParams(struct async *, struct lcp *); | 51extern void async_SetLinkParams(struct async *, u_int32_t, u_int32_t); |
52 53extern struct layer asynclayer; | 52 53extern struct layer asynclayer; |