|
AquilaOS documentation
How it works, and its code
|
A network interface (net/netif.c): a device that sends and receives Ethernet frames, and its IPv4 configuration. More...
#include <netif.h>
Data Structures | |
| struct | [struct].stats |
Data Fields | |
| char | name [8] |
| uint8_t | mac [6] |
| uint16_t | mtu |
| int | flags |
| uint32_t | ip |
| uint32_t | netmask |
| uint32_t | gateway |
| int(*) | transmit (struct netif *netif, struct netbuf *nb) |
| void * | priv |
| struct | stats |
| struct netif * | next |
A network interface (net/netif.c): a device that sends and receives Ethernet frames, and its IPv4 configuration.
| int netif::flags |
Definition at line 20 of file netif.h.
Referenced by e1000_probe(), ifreq_request(), ipv4_input(), ipv4_route(), link_check(), loopback_init(), netif_config(), netif_register(), rx_queue(), and socket_inet_send().
| uint32_t netif::gateway |
Definition at line 24 of file netif.h.
Referenced by ipv4_output(), ipv4_route(), netif_config(), and route().
| uint32_t netif::ip |
Definition at line 24 of file netif.h.
Referenced by arp_input(), arp_request(), ifconf(), ifreq_request(), ipv4_input(), ipv4_is_local(), ipv4_route(), ipv4_source(), is_broadcast(), loopback_init(), netif_config(), on_link(), route(), socket_inet_send(), and socket_tcp_connect().
| uint8_t netif::mac[6] |
Definition at line 18 of file netif.h.
Referenced by arp_input(), arp_request(), e1000_probe(), ether_output(), ifreq_request(), net_main(), and netif_register().
| uint16_t netif::mtu |
Definition at line 19 of file netif.h.
Referenced by ifreq_request(), loopback_init(), netif_register(), our_mss(), and set_mss().
| char netif::name[8] |
Definition at line 17 of file netif.h.
Referenced by ifconf(), loopback_init(), netif_config(), netif_find(), netif_register(), socket_inet_getsockopt(), and socket_inet_setsockopt().
| uint32_t netif::netmask |
Definition at line 24 of file netif.h.
Referenced by ifreq_request(), is_broadcast(), loopback_init(), netif_config(), on_link(), route(), and socket_inet_send().
| struct netif* netif::next |
Definition at line 37 of file netif.h.
Referenced by ifconf(), ipv4_is_local(), ipv4_route(), netif_find(), netif_index(), netif_register(), and route().
| void* netif::priv |
Definition at line 30 of file netif.h.
Referenced by e1000_probe().
| struct netif::[struct].stats netif::stats |
Referenced by arp_input(), arp_resolve(), e1000_transmit(), ether_input(), icmp_input(), ipv4_input(), ipv4_output(), netif_input(), netif_loopback(), netif_output(), pending_drop(), rx_poll(), tcp_input(), and udp_input().
Definition at line 28 of file netif.h.
Referenced by e1000_probe(), loopback_init(), netif_output(), and netif_register().