xref: /linux/Documentation/networking/kapi.rst (revision 306ec721d043bbe5e818d59fbb37c28d999b5d8b)
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
107PHY Support
108-----------
109
110.. kernel-doc:: drivers/net/phy/phy.c
111   :export:
112
113.. kernel-doc:: drivers/net/phy/phy.c
114   :internal:
115
116.. kernel-doc:: drivers/net/phy/phy-core.c
117   :export:
118
119.. kernel-doc:: drivers/net/phy/phy-c45.c
120   :export:
121
122.. kernel-doc:: include/linux/phy.h
123   :internal:
124
125.. kernel-doc:: drivers/net/phy/phy_device.c
126   :export:
127
128.. kernel-doc:: drivers/net/phy/phy_device.c
129   :internal:
130
131.. kernel-doc:: drivers/net/phy/mdio_bus.c
132   :export:
133
134.. kernel-doc:: drivers/net/phy/mdio_bus.c
135   :internal:
136
137PHYLINK
138-------
139
140  PHYLINK interfaces traditional network drivers with PHYLIB, fixed-links,
141  and SFF modules (eg, hot-pluggable SFP) that may contain PHYs.  PHYLINK
142  provides management of the link state and link modes.
143
144.. kernel-doc:: include/linux/phylink.h
145   :internal:
146
147.. kernel-doc:: drivers/net/phy/phylink.c
148
149SFP support
150-----------
151
152.. kernel-doc:: drivers/net/phy/sfp-bus.c
153   :internal:
154
155.. kernel-doc:: include/linux/sfp.h
156   :internal:
157
158.. kernel-doc:: drivers/net/phy/sfp-bus.c
159   :export:
160