8#ifndef ZEPHYR_INCLUDE_NET_DUMMY_H_
9#define ZEPHYR_INCLUDE_NET_DUMMY_H_
39BUILD_ASSERT(offsetof(
struct dummy_api, iface_api) == 0);
Public API for network interface.
Network packet buffer descriptor API.
Runtime device structure (in ROM) per driver instance.
Definition: device.h:381
int(* send)(const struct device *dev, struct net_pkt *pkt)
Send a network packet.
Definition: dummy.h:33
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...
Definition: dummy.h:30
Network packet.
Definition: net_pkt.h:63