RTEMS  5.1
if_hdlcsubr.h
1 /*
2  * RTEMS/TCPIP driver for MPC8260 SCC HDLC networking
3  *
4  * Submitted by Andy Dachs <a.dachs@sstl.co.uk>
5  * (c) Surrey Satellite Technology Limited, 2001
6  *
7  * On the ADS board the ethernet interface is connected to FCC2
8  * but in my application I want TCP over HDLC (see README)
9  * so will use SCC3 as the network interface. I have other plans
10  * for the FCCs so am unlikely to add true ethernet support to
11  * this BSP. Contributions welcome!
12  *
13  * COPYRIGHT (c) 1989-1997.
14  * On-Line Applications Research Corporation (OAR).
15  *
16  * The license and distribution terms for this file may in
17  * the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 #ifndef __IF_HDLCSUBR_H
21 #define __IF_HDLCSUBR_H
22 
23 struct ifnet;
24 struct mbuf;
25 struct sockaddr;
26 struct rtentry;
27 
28 void hdlc_ifattach (struct ifnet *);
29 void hdlc_input (struct ifnet *, struct mbuf *);
30 int hdlc_output (struct ifnet *,
31  struct mbuf *, struct sockaddr *, struct rtentry *);
32 int hdlc_ioctl (struct ifnet *, int , caddr_t );
33 
34 #endif