Documentation

Documentation

Includes

netif/ppp/ppp_opts.h

#include "netif/ppp/ppp_opts.h"
#include "netif/ppp/ppp_opts.h"

lwip/sys.h

#include "lwip/sys.h"
#include "lwip/sys.h"

ppp.h

#include "ppp.h"
#include "ppp.h"

vj.h

#include "vj.h"
#include "vj.h"

Macros

Marco PPPOS_H

#define PPPOS_H

      

Functions

Func pppos_create

ppp_pcb *pppos_create(struct netif *pppif, pppos_output_cb_fn output_cb,
      ppp_link_status_cb_fn link_status_cb, void *ctx_cb);
/* Create a new PPPoS session. */

Func pppos_input_tcpip

err_t pppos_input_tcpip(ppp_pcb *ppp, u8_t *s, int l);
/* Pass received raw characters to PPPoS to be decoded through lwIP TCPIP thread. */

Func pppos_input

void pppos_input(ppp_pcb *ppp, u8_t* data, int len);
/* PPP over Serial: this is the input function to be called for received data. */

Func pppos_input_sys

err_t pppos_input_sys(struct pbuf *p, struct netif *inp);

      

Vars

Consts

Types

Typedefs

Typedef pppos_output_cb_fn

typedef u32_t (*pppos_output_cb_fn)(ppp_pcb *pcb, u8_t *data, u32_t len, void *ctx);
/* PPPoS serial output callback function prototype */

Typedef ext_accm[32]

typedef u8_t ext_accm[32];
/*
 * Extended asyncmap - allows any character to be escaped.
 */

Typedef pppos_pcb

typedef struct pppos_pcb_s pppos_pcb;
/*
 * PPPoS interface control block.
 */