Line data Source code
1 0 : /*
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 :
9 0 : struct dsa_tag_netc_data {
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 :
16 0 : struct net_if *dsa_tag_netc_recv(struct net_if *iface, struct net_pkt *pkt);
17 0 : struct net_pkt *dsa_tag_netc_xmit(struct net_if *iface, struct net_pkt *pkt);
18 : #endif /* ZEPHYR_SUBSYS_DSA_TAG_NETC_H_ */
|