Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_if_timestamp_cb Struct Reference

Timestamp callback handler struct. More...

#include <zephyr/net/net_if.h>

Data Fields

sys_snode_t node
 Node information for the slist.
struct net_pktpkt
 Packet for which the callback is needed.
struct net_ififace
 Net interface for which the callback is needed.
net_if_timestamp_callback_t cb
 Timestamp callback.

Detailed Description

Timestamp callback handler struct.

Stores the timestamp callback information. Caller must make sure that the variable pointed by this is valid during the lifetime of registration. Typically this means that the variable cannot be allocated from stack.

Field Documentation

◆ cb

net_if_timestamp_callback_t net_if_timestamp_cb::cb

Timestamp callback.

◆ iface

struct net_if* net_if_timestamp_cb::iface

Net interface for which the callback is needed.

A NULL value means all interfaces.

◆ node

sys_snode_t net_if_timestamp_cb::node

Node information for the slist.

◆ pkt

struct net_pkt* net_if_timestamp_cb::pkt

Packet for which the callback is needed.

A NULL value means all packets.


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