In the Linux Kernel, support for networking hardware and the methods to interact with these devices is standardized by the socket API:
+----------------+
| Socket API |
+-------+--------+
|
User space |