xref: /freebsd/usr.sbin/ppp/ip.h (revision a79b71281cd63ad7a6cc43a6d5673a2510b51630)
1 /*
2  *			User Process PPP
3  *
4  *	    Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5  *
6  *   Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7  *
8  * Redistribution and use in source and binary forms are permitted
9  * provided that the above copyright notice and this paragraph are
10  * duplicated in all such forms and that any documentation,
11  * advertising materials, and other materials related to such
12  * distribution and use acknowledge that the software was developed
13  * by the Internet Initiative Japan, Inc.  The name of the
14  * IIJ may not be used to endorse or promote products derived
15  * from this software without specific prior written permission.
16  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19  *
20  * $FreeBSD$
21  *
22  */
23 
24 struct mbuf;
25 struct filter;
26 struct link;
27 struct bundle;
28 
29 extern int ip_PushPacket(struct link *, struct bundle *);
30 extern int  PacketCheck(struct bundle *, char *, int, struct filter *);
31 extern void ip_Enqueue(struct ipcp *, int, char *, int);
32 extern struct mbuf *ip_Input(struct bundle *, struct link *, struct mbuf *);
33 extern void ip_DeleteQueue(struct ipcp *);
34 extern size_t ip_QueueLen(struct ipcp *);
35