Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_core.h File Reference

Network core definitions. More...

#include <stdbool.h>
#include <string.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/kernel.h>
#include <zephyr/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.
 
int net_send_data (struct net_pkt *pkt)
 Send data to network.
 

Detailed Description

Network core definitions.

Definitions for networking support.