📄 if_hdlcsubr.h
字号:
/* * RTEMS/TCPIP driver for MPC8260 SCC HDLC networking * * Submitted by Andy Dachs <a.dachs@sstl.co.uk> * (c) Surrey Satellite Technology Limited, 2001 * * On the ADS board the ethernet interface is connected to FCC2 * but in my application I want TCP over HDLC (see README) * so will use SCC3 as the network interface. I have other plans * for the FCCs so am unlikely to add true ethernet support to * this BSP. Contributions welcome! * * COPYRIGHT (c) 1989-1997. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in * the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id: if_hdlcsubr.h,v 1.2.2.2 2003/09/04 18:45:09 joel Exp $ */#ifndef __IF_HDLCSUBR_H#define __IF_HDLCSUBR_Hstruct ifnet;struct mbuf;struct sockaddr;struct rtentry;void hdlc_ifattach __P((struct ifnet *));void hdlc_input __P((struct ifnet *, struct mbuf *));int hdlc_output __P((struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *));int hdlc_ioctl __P((struct ifnet *, int , caddr_t ));#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -