diff options
author | brian <brian@FreeBSD.org> | 1997-08-25 00:29:32 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-25 00:29:32 +0000 |
commit | 1a67d257255b14fb46fc02630bf861a49bebd625 (patch) | |
tree | 5a0190bb42d398d91fc5bbdd17de31f54aec2459 /usr.sbin/ppp/mbuf.h | |
parent | bbf38e6e36ecd35771c55badcb09ca745a61d881 (diff) | |
download | FreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.zip FreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.tar.gz |
Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
Update to version 1.1.
Diffstat (limited to 'usr.sbin/ppp/mbuf.h')
-rw-r--r-- | usr.sbin/ppp/mbuf.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/usr.sbin/ppp/mbuf.h b/usr.sbin/ppp/mbuf.h index f7f7b7b..1c88fcc 100644 --- a/usr.sbin/ppp/mbuf.h +++ b/usr.sbin/ppp/mbuf.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: mbuf.h,v 1.4 1997/02/22 16:10:35 peter Exp $ + * $Id: mbuf.h,v 1.5 1997/06/09 03:27:29 brian Exp $ * * TODO: */ @@ -24,13 +24,13 @@ #define _MBUF_H_ struct mbuf { - u_char *base; /* pointer to top of buffer space */ - short size; /* size allocated from base */ - short offset; /* offset to start position */ - short cnt; /* available byte count in buffer */ + u_char *base; /* pointer to top of buffer space */ + short size; /* size allocated from base */ + short offset; /* offset to start position */ + short cnt; /* available byte count in buffer */ short type; - struct mbuf *next; /* link to next mbuf */ - struct mbuf *pnext; /* link to next packet */ + struct mbuf *next; /* link to next mbuf */ + struct mbuf *pnext; /* link to next packet */ }; struct mqueue { @@ -55,15 +55,16 @@ struct mqueue { #define MB_IPQ 10 #define MB_MAX MB_IPQ -extern int plength(struct mbuf *bp); +extern int plength(struct mbuf * bp); extern struct mbuf *mballoc(int cnt, int type); -extern struct mbuf *mbfree(struct mbuf *bp); -extern void pfree(struct mbuf *bp); -extern void mbwrite(struct mbuf *bp, u_char *ptr, int cnt); -extern struct mbuf *mbread(struct mbuf *bp, u_char *ptr, int cnt); -extern void DumpBp(struct mbuf *bp); -extern void Enqueue(struct mqueue *queue, struct mbuf *bp); -extern struct mbuf *Dequeue(struct mqueue *queue); +extern struct mbuf *mbfree(struct mbuf * bp); +extern void pfree(struct mbuf * bp); +extern void mbwrite(struct mbuf * bp, u_char * ptr, int cnt); +extern struct mbuf *mbread(struct mbuf * bp, u_char * ptr, int cnt); +extern void DumpBp(struct mbuf * bp); +extern void Enqueue(struct mqueue * queue, struct mbuf * bp); +extern struct mbuf *Dequeue(struct mqueue * queue); extern void LogMemory(); extern int ShowMemMap(); + #endif |