source: rtems/cpukit/pppd/rtemspppd.h @ 299a523f

4.104.114.84.95
Last change on this file since 299a523f was 0286b9f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/02 at 21:42:11

2001-01-31 Mike Siers <mikes@…>

  • Nice Update of PPPD support which eliminates the requiremetn that drivers be in the termios TASK_DRIVEN mode. Mike did significant testing and reports that it seems to be more stable and handle larger packets better. This patch replaces the termios tasks with more general pppd network driver tasks. The functions pppinput() and pppstart() get called from the interrupt service routine.
  • Makefile.am, configure.ac, net/Makefile.am, net/bpf.h, net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h, net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h, net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h, net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h, net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c, net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README, pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h, pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c, pppd/upap.h, pppd/utils.c, pppd/example/README, pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
  • net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h, net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
  • modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c, modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
  • Property mode set to 100644
File size: 887 bytes
Line 
1
2#ifndef RTEMSPPPD_H
3#define RTEMSPPPD_H
4
5
6/* define hook function identifiers */
7#define RTEMS_PPPD_LINKUP_HOOK      1
8#define RTEMS_PPPD_LINKDOWN_HOOK    2
9#define RTEMS_PPPD_IPUP_HOOK        3
10#define RTEMS_PPPD_IPDOWN_HOOK      4
11#define RTEMS_PPPD_ERROR_HOOK       5
12#define RTEMS_PPPD_EXIT_HOOK        6
13
14/* define hook function pointer prototype */
15typedef void (*rtems_pppd_hookfunction)(void);
16typedef int  (*rtems_pppd_dialerfunction)(int tty, int mode, char *pScript);
17
18
19/* define pppd function prototyes */
20int rtems_pppd_initialize(void);
21int rtems_pppd_terminate(void);
22int rtems_pppd_reset_options(void);
23int rtems_pppd_set_hook(int id, rtems_pppd_hookfunction hookfp);
24int rtems_pppd_set_dialer(rtems_pppd_dialerfunction dialerfp);
25int rtems_pppd_set_option(const char *pOption, const char *pValue);
26int rtems_pppd_connect(void);
27int rtems_pppd_disconnect(void);
28
29#endif
Note: See TracBrowser for help on using the repository browser.