|
My Kernel v0.1.0
|
Network Interfaces. More...

Go to the source code of this file.
Data Structures | |
| struct | net_interface |
| A network interface. More... | |
| struct | subnet |
| An interface subnet. More... | |
Functions | |
| struct net_interface * | net_interface_new (struct ethernet_device *, const char *) |
| Create a new network interface. | |
| error_t | net_interface_add_subnet (struct net_interface *, __be ipv4_t, uint8_t cidr) |
| Add a new subnet to a network interface. | |
| const struct subnet * | net_interface_find_subnet (__be ipv4_t) |
| Find the first subnet that contains the specified address. More... | |
| struct net_interface * | net_interface_find (__be ipv4_t) |
| Find the interface by source IP address. | |