tools/testing/selftests/bpf/xdp_metadata.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/xdp_metadata.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/xdp_metadata.h
Extension
.h
Size
817 bytes
Lines
53
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

struct xdp_meta {
	union {
		__u64 rx_timestamp;
		__s32 rx_timestamp_err;
	};
	__u64 xdp_timestamp;
	__u32 rx_hash;
	union {
		__u32 rx_hash_type;
		__s32 rx_hash_err;
	};
	union {
		struct {
			__be16 rx_vlan_proto;
			__u16 rx_vlan_tci;
		};
		__s32 rx_vlan_tag_err;
	};
	enum xdp_meta_field hint_valid;
};

Annotation

Implementation Notes