RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
23struct ifnet;
24struct mbuf;
25struct sockaddr;
26struct rtentry;
27
28void hdlc_ifattach (struct ifnet *);
29void hdlc_input (struct ifnet *, struct mbuf *);
30int hdlc_output (struct ifnet *,
31 struct mbuf *, struct sockaddr *, struct rtentry *);
32int hdlc_ioctl (struct ifnet *, int , caddr_t );
33
34#endif