net/tipc/topsrv.h

Source file repositories/reference/linux-study-clean/net/tipc/topsrv.h

File Facts

System
Linux kernel
Corpus path
net/tipc/topsrv.h
Extension
.h
Size
2356 bytes
Lines
55
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 _TIPC_SERVER_H
#define _TIPC_SERVER_H

#include "core.h"

#define TIPC_SERVER_NAME_LEN	32
#define TIPC_SUB_CLUSTER_SCOPE  0x20
#define TIPC_SUB_NODE_SCOPE     0x40
#define TIPC_SUB_NO_STATUS      0x80

void tipc_topsrv_queue_evt(struct net *net, int conid,
			   u32 event, struct tipc_event *evt);

bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, u32 lower,
			     u32 upper, u32 filter, int *conid);
void tipc_topsrv_kern_unsubscr(struct net *net, int conid);

#endif

Annotation

Implementation Notes