Deleted Added
full compact
mp.h (81634) mp.h (134789)
1/*-
2 * Copyright (c) 1998 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) 1998 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/mp.h 81634 2001-08-14 16:05:52Z brian $
26 * $FreeBSD: head/usr.sbin/ppp/mp.h 134789 2004-09-05 01:46:52Z brian $
27 */
28
29struct mbuf;
30struct physical;
31struct bundle;
32struct cmdargs;
33struct datalink;
34

--- 97 unchanged lines hidden (view full) ---

132extern void mp_Init(struct mp *, struct bundle *);
133extern void mp_linkInit(struct mp_link *);
134extern int mp_Up(struct mp *, struct datalink *);
135extern void mp_Down(struct mp *);
136extern struct mbuf *mp_Input(struct bundle *, struct link *, struct mbuf *);
137extern int mp_FillPhysicalQueues(struct bundle *);
138extern int mp_SetDatalinkBandwidth(struct cmdargs const *);
139extern int mp_ShowStatus(struct cmdargs const *);
27 */
28
29struct mbuf;
30struct physical;
31struct bundle;
32struct cmdargs;
33struct datalink;
34

--- 97 unchanged lines hidden (view full) ---

132extern void mp_Init(struct mp *, struct bundle *);
133extern void mp_linkInit(struct mp_link *);
134extern int mp_Up(struct mp *, struct datalink *);
135extern void mp_Down(struct mp *);
136extern struct mbuf *mp_Input(struct bundle *, struct link *, struct mbuf *);
137extern int mp_FillPhysicalQueues(struct bundle *);
138extern int mp_SetDatalinkBandwidth(struct cmdargs const *);
139extern int mp_ShowStatus(struct cmdargs const *);
140extern const char *mp_Enddisc(u_char, const char *, int);
140extern const char *mp_Enddisc(u_char, const char *, size_t);
141extern int mp_SetEnddisc(struct cmdargs const *);
142extern void mp_LinkLost(struct mp *, struct datalink *);
143extern void mp_RestartAutoloadTimer(struct mp *);
144extern void mp_CheckAutoloadTimer(struct mp *);
145extern void mp_StopAutoloadTimer(struct mp *);
146extern size_t mp_QueueLen(struct mp *);
141extern int mp_SetEnddisc(struct cmdargs const *);
142extern void mp_LinkLost(struct mp *, struct datalink *);
143extern void mp_RestartAutoloadTimer(struct mp *);
144extern void mp_CheckAutoloadTimer(struct mp *);
145extern void mp_StopAutoloadTimer(struct mp *);
146extern size_t mp_QueueLen(struct mp *);