xref: /linux/Documentation/networking/kapi.rst (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1=========================================
2Linux Networking and Network Devices APIs
3=========================================
4
5Linux Networking
6================
7
8Networking Base Types
9---------------------
10
11.. kernel-doc:: include/linux/net.h
12   :internal:
13
14Socket Buffer Functions
15-----------------------
16
17.. kernel-doc:: include/linux/skbuff.h
18   :internal:
19
20.. kernel-doc:: include/net/sock.h
21   :internal:
22
23.. kernel-doc:: net/socket.c
24   :export:
25
26.. kernel-doc:: net/core/skbuff.c
27   :export:
28
29.. kernel-doc:: net/core/sock.c
30   :export:
31
32.. kernel-doc:: net/core/datagram.c
33   :export:
34
35.. kernel-doc:: net/core/stream.c
36   :export:
37
38Socket Filter
39-------------
40
41.. kernel-doc:: net/core/filter.c
42   :export:
43
44Generic Network Statistics
45--------------------------
46
47.. kernel-doc:: include/uapi/linux/gen_stats.h
48   :internal:
49
50.. kernel-doc:: net/core/gen_stats.c
51   :export:
52
53.. kernel-doc:: net/core/gen_estimator.c
54   :export:
55
56SUN RPC subsystem
57-----------------
58
59.. kernel-doc:: net/sunrpc/xdr.c
60   :export:
61
62.. kernel-doc:: net/sunrpc/svc_xprt.c
63   :export:
64
65.. kernel-doc:: net/sunrpc/xprt.c
66   :export:
67
68.. kernel-doc:: net/sunrpc/sched.c
69   :export:
70
71.. kernel-doc:: net/sunrpc/socklib.c
72   :export:
73
74.. kernel-doc:: net/sunrpc/stats.c
75   :export:
76
77.. kernel-doc:: net/sunrpc/rpc_pipe.c
78   :export:
79
80.. kernel-doc:: net/sunrpc/rpcb_clnt.c
81   :export:
82
83.. kernel-doc:: net/sunrpc/clnt.c
84   :export:
85
86Network device support
87======================
88
89Driver Support
90--------------
91
92.. kernel-doc:: net/core/dev.c
93   :export:
94
95.. kernel-doc:: net/ethernet/eth.c
96   :export:
97
98.. kernel-doc:: net/sched/sch_generic.c
99   :export:
100
101.. kernel-doc:: include/linux/etherdevice.h
102   :internal:
103
104.. kernel-doc:: include/linux/netdevice.h
105   :internal:
106
107.. kernel-doc:: include/net/net_shaper.h
108   :internal:
109
110PHY Support
111-----------
112
113.. kernel-doc:: drivers/net/phy/phy.c
114   :export:
115
116.. kernel-doc:: drivers/net/phy/phy.c
117   :internal:
118
119.. kernel-doc:: drivers/net/phy/phy-core.c
120   :export:
121
122.. kernel-doc:: drivers/net/phy/phy-c45.c
123   :export:
124
125.. kernel-doc:: include/linux/phy.h
126   :internal:
127
128.. kernel-doc:: drivers/net/phy/phy_device.c
129   :export:
130
131.. kernel-doc:: drivers/net/phy/phy_device.c
132   :internal:
133
134.. kernel-doc:: drivers/net/phy/mdio_bus.c
135   :export:
136
137.. kernel-doc:: drivers/net/phy/mdio_bus.c
138   :internal:
139
140PHYLINK
141-------
142
143  PHYLINK interfaces traditional network drivers with PHYLIB, fixed-links,
144  and SFF modules (eg, hot-pluggable SFP) that may contain PHYs.  PHYLINK
145  provides management of the link state and link modes.
146
147.. kernel-doc:: include/linux/phylink.h
148   :internal:
149
150.. kernel-doc:: drivers/net/phy/phylink.c
151
152SFP support
153-----------
154
155.. kernel-doc:: drivers/net/phy/sfp-bus.c
156   :internal:
157
158.. kernel-doc:: include/linux/sfp.h
159   :internal:
160
161.. kernel-doc:: drivers/net/phy/sfp-bus.c
162   :export:
163