net/netlink/genetlink.h

Source file repositories/reference/linux-study-clean/net/netlink/genetlink.h

File Facts

System
Linux kernel
Corpus path
net/netlink/genetlink.h
Extension
.h
Size
309 bytes
Lines
12
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

#ifndef __NET_GENETLINK_H
#define __NET_GENETLINK_H

#include <linux/wait.h>

/* for synchronisation between af_netlink and genetlink */
extern atomic_t genl_sk_destructing_cnt;
extern wait_queue_head_t genl_sk_destructing_waitq;

#endif	/* __LINUX_GENERIC_NETLINK_H */

Annotation

Implementation Notes