Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_core.h File Reference

Network core definitions. More...

#include <stdbool.h>
#include <string.h>
#include <logging/log.h>
#include <sys/__assert.h>
#include <kernel.h>
#include <net/net_timeout.h>

Go to the source code of this file.

Enumerations

enum  net_verdict { NET_OK , NET_CONTINUE , NET_DROP }
 Net Verdict. More...
 

Functions

int net_recv_data (struct net_if *iface, struct net_pkt *pkt)
 Called by lower network stack or network device driver when a network packet has been received. The function will push the packet up in the network stack for further processing. More...
 
int net_send_data (struct net_pkt *pkt)
 Send data to network. More...
 

Detailed Description

Network core definitions.

Definitions for networking support.