7#ifndef ZEPHYR_INCLUDE_NET_CAN_H_ 
    8#define ZEPHYR_INCLUDE_NET_CAN_H_ 
   49BUILD_ASSERT(offsetof(
struct canbus_api, iface_api) == 0);
 
size_t socklen_t
Definition: net_ip.h:167
 
Public API for network interface.
 
IPv6 and IPv4 definitions.
 
int(* getsockopt)(const struct device *dev, void *obj, int level, int optname, const void *optval, socklen_t *optlen)
Definition: canbus.h:41
 
int(* send)(const struct device *dev, struct net_pkt *pkt)
Definition: canbus.h:30
 
int(* setsockopt)(const struct device *dev, void *obj, int level, int optname, const void *optval, socklen_t optlen)
Definition: canbus.h:36
 
void(* close)(const struct device *dev, int filter_id)
Definition: canbus.h:33
 
struct net_if_api iface_api
Definition: canbus.h:27
 
Runtime device structure (in ROM) per driver instance.
Definition: device.h:378
 
Network packet.
Definition: net_pkt.h:62