summaryrefslogblamecommitdiffstats
path: root/testsuites/samples/pppd/init.c
blob: 0e534e03d21c74d82506335d371bf4368c8c67d1 (plain) (tree)
1
2
3
4
5
6




                               
                            

















                                             

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/rtems_bsdnet.h>
#include <rtems/rtemspppd.h>

#define CONFIGURE_INIT
#include "system.h"
#include "netconfig.h"


extern int pppdapp_initialize(void);


rtems_task Init(rtems_task_argument argument)
{
  /* initialize network */
  rtems_bsdnet_initialize_network();
  rtems_pppd_initialize();
  pppdapp_initialize();

  rtems_task_delete(RTEMS_SELF);
}