#include <linux/types.h>#include <linux/socket.h>#include <linux/if_arp.h>#include <linux/route.h>Go to the source code of this file.
Data Structures | |
| struct | ifnet |
| Structure defining a queue for a network interface. More... | |
| struct | ifnet::ifqueue |
| struct | ifaddr |
| struct | ifreq |
| struct | ifconf |
Defines | |
| #define | IFF_UP 0x1 |
| Standard interface flags. interface is up. | |
| #define | IFF_BROADCAST 0x2 |
| broadcast address valid | |
| #define | IFF_DEBUG 0x4 |
| turn on debugging | |
| #define | IFF_LOOPBACK 0x8 |
| is a loopback net | |
| #define | IFF_POINTOPOINT 0x10 |
| interface is has p-p link | |
| #define | IFF_NOTRAILERS 0x20 |
| avoid use of trailers | |
| #define | IFF_RUNNING 0x40 |
| resources allocated | |
| #define | IFF_NOARP 0x80 |
| no ARP protocol | |
| #define | IFF_PROMISC 0x100 |
| These are not yet used: recve all packets. | |
| #define | IFF_ALLMULTI 0x200 |
| recve all multicast packets | |
| #define | ifa_broadaddr ifa_ifu.ifu_broadaddr |
| broadcast address | |
| #define | ifa_dstaddr ifa_ifu.ifu_dstaddr |
| other end of link | |
| #define | IFHWADDRLEN 6 |
| #define | IFNAMSIZ 16 |
| #define | ifr_name ifr_ifrn.ifrn_name |
| interface name | |
| #define | ifr_hwaddr ifr_ifrn.ifrn_hwaddr |
| interface hardware | |
| #define | ifr_addr ifr_ifru.ifru_addr |
| address | |
| #define | ifr_dstaddr ifr_ifru.ifru_dstaddr |
| other end of p-p lnk | |
| #define | ifr_broadaddr ifr_ifru.ifru_broadaddr |
| broadcast address | |
| #define | ifr_netmask ifr_ifru.ifru_netmask |
| interface net mask | |
| #define | ifr_flags ifr_ifru.ifru_flags |
| flags | |
| #define | ifr_metric ifr_ifru.ifru_metric |
| metric | |
| #define | ifr_mtu ifr_ifru.ifru_mtu |
| mtu | |
| #define | ifr_data ifr_ifru.ifru_data |
| for use by interface | |
| #define | ifc_buf ifc_ifcu.ifcu_buf |
| buffer address | |
| #define | ifc_req ifc_ifcu.ifcu_req |
| array of structures | |
| #define IFF_PROMISC 0x100 |
| #define ifr_broadaddr ifr_ifru.ifru_broadaddr |
1.4.6-5