19 #define RTEMS_PPPD_LINKUP_HOOK 1 20 #define RTEMS_PPPD_LINKDOWN_HOOK 2 21 #define RTEMS_PPPD_IPUP_HOOK 3 22 #define RTEMS_PPPD_IPDOWN_HOOK 4 23 #define RTEMS_PPPD_ERROR_HOOK 5 24 #define RTEMS_PPPD_EXIT_HOOK 6 27 typedef void (*rtems_pppd_hookfunction)(void);
28 typedef int (*rtems_pppd_dialerfunction)(
int tty,
int mode,
char *pScript);
32 int rtems_pppd_initialize(
void);
33 int rtems_pppd_terminate(
void);
34 int rtems_pppd_reset_options(
void);
35 int rtems_pppd_set_hook(
int id, rtems_pppd_hookfunction hookfp);
36 int rtems_pppd_set_dialer(rtems_pppd_dialerfunction dialerfp);
37 int rtems_pppd_set_option(
const char *pOption,
const char *pValue);
38 int rtems_pppd_connect(
void);
39 int rtems_pppd_disconnect(
void);
41 struct rtems_bsdnet_ifconfig;
43 int rtems_ppp_driver_attach(
struct rtems_bsdnet_ifconfig *
config,
int attaching);
Definition: deflate.c:115