include/net/xdp_priv.h

Source file repositories/reference/linux-study-clean/include/net/xdp_priv.h

File Facts

System
Linux kernel
Corpus path
include/net/xdp_priv.h
Extension
.h
Size
427 bytes
Lines
20
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

struct xdp_mem_allocator {
	struct xdp_mem_info mem;
	union {
		void *allocator;
		struct page_pool *page_pool;
	};
	struct rhash_head node;
	struct rcu_head rcu;
};

#endif /* __LINUX_NET_XDP_PRIV_H__ */

Annotation

Implementation Notes