net/dsa/devlink.h

Source file repositories/reference/linux-study-clean/net/dsa/devlink.h

File Facts

System
Linux kernel
Corpus path
net/dsa/devlink.h
Extension
.h
Size
467 bytes
Lines
17
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 __DSA_DEVLINK_H
#define __DSA_DEVLINK_H

struct dsa_port;
struct dsa_switch;

int dsa_port_devlink_setup(struct dsa_port *dp);
void dsa_port_devlink_teardown(struct dsa_port *dp);
void dsa_switch_devlink_register(struct dsa_switch *ds);
void dsa_switch_devlink_unregister(struct dsa_switch *ds);
int dsa_switch_devlink_alloc(struct dsa_switch *ds);
void dsa_switch_devlink_free(struct dsa_switch *ds);

#endif

Annotation

Implementation Notes