Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

PPP L2 API. More...

#include <ppp.h>

Data Fields

struct net_if_api iface_api
 The net_if_api must be placed in first position in this struct so that we are compatible with network interface API.
 
int(* start )(const struct device *dev)
 Start the device.
 
int(* stop )(const struct device *dev)
 Stop the device.
 
int(* send )(const struct device *dev, struct net_pkt *pkt)
 Send a network packet.
 

Detailed Description

PPP L2 API.

Field Documentation

◆ iface_api

struct net_if_api ppp_api::iface_api

The net_if_api must be placed in first position in this struct so that we are compatible with network interface API.

◆ send

int(* ppp_api::send) (const struct device *dev, struct net_pkt *pkt)

Send a network packet.

◆ start

int(* ppp_api::start) (const struct device *dev)

Start the device.

◆ stop

int(* ppp_api::stop) (const struct device *dev)

Stop the device.


The documentation for this struct was generated from the following file: