#include <if.h>
Data Fields | |
| char * | if_name |
| name, e.g. ``en'' or ``lo'' | |
| short | if_unit |
| sub-unit for device driver | |
| short | if_mtu |
| maximum transmission unit | |
| short | if_flags |
| up/down, broadcast, etc. | |
| short | if_timer |
| time 'til if_watchdog called | |
| int | if_metric |
| routing metric (not used) | |
| ifaddr * | if_addrlist |
| linked list of addrs per if | |
| ifnet::ifqueue | if_snd |
| output queue | |
| int(* | if_init )() |
| Procedure handles. init routine. | |
| int(* | if_output )() |
| output routine | |
| int(* | if_ioctl )() |
| ioctl routine | |
| int(* | if_reset )() |
| bus reset routine | |
| int(* | if_watchdog )() |
| timer routine | |
| int | if_ipackets |
| Generic interface statistics. packets recv'd on interface. | |
| int | if_ierrors |
| input errors on interface | |
| int | if_opackets |
| packets sent on interface | |
| int | if_oerrors |
| output errors on interface | |
| int | if_collisions |
| collisions on CSMA i'faces | |
| ifnet * | if_next |
| Linked list: pointer to next interface. | |
Data Structures | |
| struct | ifqueue |
INET An implementation of the TCP/IP protocol suite for the LINUX operating system. INET is implemented using the BSD Socket interface as the means of communication with the user level.
Global definitions for the INET interface module.
Version: @(#)if.h 1.0.2 04/18/93
Authors: Original taken from Berkeley UNIX 4.3, (c) UCB 1982-1988 Ross Biro, <bir7@leland.Stanford.Edu> Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Definition at line 31 of file if.h.
| struct ifaddr* ifnet::if_addrlist |
| short ifnet::if_flags |
| int(* ifnet::if_init)() |
Procedure handles. init routine.
| int(* ifnet::if_ioctl)() |
ioctl routine
| int ifnet::if_metric |
| short ifnet::if_mtu |
| char* ifnet::if_name |
| struct ifnet* ifnet::if_next |
| int(* ifnet::if_output)() |
output routine
| int(* ifnet::if_reset)() |
bus reset routine
| struct ifnet::ifqueue ifnet::if_snd |
output queue
| short ifnet::if_timer |
| short ifnet::if_unit |
| int(* ifnet::if_watchdog)() |
timer routine
1.4.6-5