| 1 | // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)cxx . . $ `<file>/src/xdp_metadata.h`/ |
| 2 | /* |
| 3 | * Copyright (C) Intel Corporation |
| 4 | * Author Faizal Abdul Rahim <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef XDP_METADATA_H |
| 8 | #define XDP_METADATA_Hcxx . . $ `src/xdp_metadata.h:8:9`! |
| 9 | |
| 10 | #ifndef BITcxx . . $ `src/utils.h:115:9`! |
| 11 | #define BIT(nr) (1 << (nr)) |
| 12 | #endif |
| 13 | |
| 14 | enum xdp_meta_fieldcxx . . $ xdp_meta_field# { |
| 15 | XDP_META_FIELD_TScxx . . $ XDP_META_FIELD_TS. = BITcxx . . $ `src/utils.h:115:9`!(0), |
| 16 | }; |
| 17 | |
| 18 | struct xdp_metacxx . . $ xdp_meta# { |
| 19 | unioncxx . . $ xdp_meta#$anonymous_type_0# { |
| 20 | __u64cxx . . $ __u64# rx_hw_timestampcxx . . $ xdp_meta#$anonymous_type_0#rx_hw_timestamp.; |
| 21 | __s32cxx . . $ __s32# rx_hw_timestamp_errcxx . . $ xdp_meta#$anonymous_type_0#rx_hw_timestamp_err.; |
| 22 | }; |
| 23 | __u64cxx . . $ __u64# rx_sw_timestampcxx . . $ xdp_meta#rx_sw_timestamp.; |
| 24 | enum xdp_meta_fieldcxx . . $ xdp_meta_field# hint_validcxx . . $ xdp_meta#hint_valid.; |
| 25 | }; |
| 26 | |
| 27 | #endif /* XDP_METADATA_H */ |