Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dsa_tag_netc.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_SUBSYS_DSA_TAG_NETC_H_
7#define ZEPHYR_SUBSYS_DSA_TAG_NETC_H_
8
10#ifdef CONFIG_NET_L2_PTP
11 void (*twostep_timestamp_handler)(const struct dsa_switch_context *ctx,
12 uint8_t ts_req_id, uint64_t ts);
13#endif
14};
15
16struct net_if *dsa_tag_netc_recv(struct net_if *iface, struct net_pkt *pkt);
17struct net_pkt *dsa_tag_netc_xmit(struct net_if *iface, struct net_pkt *pkt);
18#endif /* ZEPHYR_SUBSYS_DSA_TAG_NETC_H_ */
struct net_pkt * dsa_tag_netc_xmit(struct net_if *iface, struct net_pkt *pkt)
struct net_if * dsa_tag_netc_recv(struct net_if *iface, struct net_pkt *pkt)
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
DSA switch context data.
Definition dsa_core.h:74
Definition dsa_tag_netc.h:9
Network Interface structure.
Definition net_if.h:726
Network packet.
Definition net_pkt.h:91
struct net_if * iface
Network interface.
Definition net_pkt.h:114