RTEMS CPU Kit with SuperCore
Data Structures | Macros | Functions
if_pppvar.h File Reference
#include <net/if_var.h>
#include <net/ppp_defs.h>
#include <rtems/rtems/types.h>
Include dependency graph for if_pppvar.h:

Go to the source code of this file.

Data Structures

struct  ppp_softc
 

Macros

#define NP_IP   0 /* Internet Protocol */
 
#define NUM_NP   1 /* Number of NPs. */
 
#define NUM_MBUFQ   64
 
#define RX_PACKET   RTEMS_EVENT_1
 
#define RX_MBUF   RTEMS_EVENT_2
 
#define RX_EMPTY   RTEMS_EVENT_3
 
#define TX_PACKET   RTEMS_EVENT_1
 
#define TX_TRANSMIT   RTEMS_EVENT_2
 
#define PPPD_EVENT   RTEMS_EVENT_31
 
#define SC_TX_BUSY   0x0001
 
#define SC_TX_FCS   0x0002
 
#define SC_TX_ESCAPE   0x0004
 
#define SC_TX_LASTCHAR   0x0008
 
#define SC_TX_PENDING   0x0010
 

Functions

struct ppp_softcpppalloc (pid_t pid)
 
void pppdealloc (struct ppp_softc *sc)
 
int pppoutput (struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *)
 
int pppioctl (struct ppp_softc *sc, ioctl_command_t cmd, caddr_t data, int flag, struct proc *p)
 
struct mbufppp_dequeue (struct ppp_softc *sc)
 
u_short pppfcs (u_short fcs, u_char *cp, int len)
 
void pppallocmbuf (struct ppp_softc *sc, struct mbuf **mp)