Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
if_arp.h File Reference
#include <linux/netdevice.h>

Go to the source code of this file.

Data Structures

struct  arpreq
 
struct  arpreq_old
 
struct  arphdr
 

Macros

#define ARPHRD_NETROM   0 /* from KA9Q: NET/ROM pseudo */
 
#define ARPHRD_ETHER   1 /* Ethernet 10Mbps */
 
#define ARPHRD_EETHER   2 /* Experimental Ethernet */
 
#define ARPHRD_AX25   3 /* AX.25 Level 2 */
 
#define ARPHRD_PRONET   4 /* PROnet token ring */
 
#define ARPHRD_CHAOS   5 /* Chaosnet */
 
#define ARPHRD_IEEE802   6 /* IEEE 802.2 Ethernet/TR/TB */
 
#define ARPHRD_ARCNET   7 /* ARCnet */
 
#define ARPHRD_APPLETLK   8 /* APPLEtalk */
 
#define ARPHRD_DLCI   15 /* Frame Relay DLCI */
 
#define ARPHRD_ATM   19 /* ATM */
 
#define ARPHRD_METRICOM   23 /* Metricom STRIP (new IANA id) */
 
#define ARPHRD_IEEE1394   24 /* IEEE 1394 IPv4 - RFC 2734 */
 
#define ARPHRD_EUI64   27 /* EUI-64 */
 
#define ARPHRD_INFINIBAND   32 /* InfiniBand */
 
#define ARPHRD_SLIP   256
 
#define ARPHRD_CSLIP   257
 
#define ARPHRD_SLIP6   258
 
#define ARPHRD_CSLIP6   259
 
#define ARPHRD_RSRVD   260 /* Notional KISS type */
 
#define ARPHRD_ADAPT   264
 
#define ARPHRD_ROSE   270
 
#define ARPHRD_X25   271 /* CCITT X.25 */
 
#define ARPHRD_HWX25   272 /* Boards with X.25 in firmware */
 
#define ARPHRD_CAN   280 /* Controller Area Network */
 
#define ARPHRD_PPP   512
 
#define ARPHRD_CISCO   513 /* Cisco HDLC */
 
#define ARPHRD_HDLC   ARPHRD_CISCO
 
#define ARPHRD_LAPB   516 /* LAPB */
 
#define ARPHRD_DDCMP   517 /* Digital's DDCMP protocol */
 
#define ARPHRD_RAWHDLC   518 /* Raw HDLC */
 
#define ARPHRD_TUNNEL   768 /* IPIP tunnel */
 
#define ARPHRD_TUNNEL6   769 /* IP6IP6 tunnel */
 
#define ARPHRD_FRAD   770 /* Frame Relay Access Device */
 
#define ARPHRD_SKIP   771 /* SKIP vif */
 
#define ARPHRD_LOOPBACK   772 /* Loopback device */
 
#define ARPHRD_LOCALTLK   773 /* Localtalk device */
 
#define ARPHRD_FDDI   774 /* Fiber Distributed Data Interface */
 
#define ARPHRD_BIF   775 /* AP1000 BIF */
 
#define ARPHRD_SIT   776 /* sit0 device - IPv6-in-IPv4 */
 
#define ARPHRD_IPDDP   777 /* IP over DDP tunneller */
 
#define ARPHRD_IPGRE   778 /* GRE over IP */
 
#define ARPHRD_PIMREG   779 /* PIMSM register interface */
 
#define ARPHRD_HIPPI   780 /* High Performance Parallel Interface */
 
#define ARPHRD_ASH   781 /* Nexus 64Mbps Ash */
 
#define ARPHRD_ECONET   782 /* Acorn Econet */
 
#define ARPHRD_IRDA   783 /* Linux-IrDA */
 
#define ARPHRD_FCPP   784 /* Point to point fibrechannel */
 
#define ARPHRD_FCAL   785 /* Fibrechannel arbitrated loop */
 
#define ARPHRD_FCPL   786 /* Fibrechannel public loop */
 
#define ARPHRD_FCFABRIC   787 /* Fibrechannel fabric */
 
#define ARPHRD_IEEE802_TR   800 /* Magic type ident for TR */
 
#define ARPHRD_IEEE80211   801 /* IEEE 802.11 */
 
#define ARPHRD_IEEE80211_PRISM   802 /* IEEE 802.11 + Prism2 header */
 
#define ARPHRD_IEEE80211_RADIOTAP   803 /* IEEE 802.11 + radiotap header */
 
#define ARPHRD_IEEE802154   804
 
#define ARPHRD_IEEE802154_MONITOR   805 /* IEEE 802.15.4 network monitor */
 
#define ARPHRD_PHONET   820 /* PhoNet media type */
 
#define ARPHRD_PHONET_PIPE   821 /* PhoNet pipe header */
 
#define ARPHRD_CAIF   822 /* CAIF media type */
 
#define ARPHRD_IP6GRE   823 /* GRE over IPv6 */
 
#define ARPHRD_VOID   0xFFFF /* Void type, nothing is known */
 
#define ARPHRD_NONE   0xFFFE /* zero header length */
 
#define ARPOP_REQUEST   1 /* ARP request */
 
#define ARPOP_REPLY   2 /* ARP reply */
 
#define ARPOP_RREQUEST   3 /* RARP request */
 
#define ARPOP_RREPLY   4 /* RARP reply */
 
#define ARPOP_InREQUEST   8 /* InARP request */
 
#define ARPOP_InREPLY   9 /* InARP reply */
 
#define ARPOP_NAK   10 /* (ATM)ARP NAK */
 
#define ATF_COM   0x02 /* completed entry (ha valid) */
 
#define ATF_PERM   0x04 /* permanent entry */
 
#define ATF_PUBL   0x08 /* publish entry */
 
#define ATF_USETRAILERS   0x10 /* has requested trailers */
 
#define ATF_NETMASK
 
#define ATF_DONTPUB   0x40 /* don't answer this addresses */
 

Macro Definition Documentation

#define ARPHRD_ADAPT   264

Definition at line 51 of file if_arp.h.

#define ARPHRD_APPLETLK   8 /* APPLEtalk */

Definition at line 37 of file if_arp.h.

#define ARPHRD_ARCNET   7 /* ARCnet */

Definition at line 36 of file if_arp.h.

#define ARPHRD_ASH   781 /* Nexus 64Mbps Ash */

Definition at line 76 of file if_arp.h.

#define ARPHRD_ATM   19 /* ATM */

Definition at line 39 of file if_arp.h.

#define ARPHRD_AX25   3 /* AX.25 Level 2 */

Definition at line 32 of file if_arp.h.

#define ARPHRD_BIF   775 /* AP1000 BIF */

Definition at line 70 of file if_arp.h.

#define ARPHRD_CAIF   822 /* CAIF media type */

Definition at line 94 of file if_arp.h.

#define ARPHRD_CAN   280 /* Controller Area Network */

Definition at line 55 of file if_arp.h.

#define ARPHRD_CHAOS   5 /* Chaosnet */

Definition at line 34 of file if_arp.h.

#define ARPHRD_CISCO   513 /* Cisco HDLC */

Definition at line 57 of file if_arp.h.

#define ARPHRD_CSLIP   257

Definition at line 47 of file if_arp.h.

#define ARPHRD_CSLIP6   259

Definition at line 49 of file if_arp.h.

#define ARPHRD_DDCMP   517 /* Digital's DDCMP protocol */

Definition at line 60 of file if_arp.h.

#define ARPHRD_DLCI   15 /* Frame Relay DLCI */

Definition at line 38 of file if_arp.h.

#define ARPHRD_ECONET   782 /* Acorn Econet */

Definition at line 77 of file if_arp.h.

#define ARPHRD_EETHER   2 /* Experimental Ethernet */

Definition at line 31 of file if_arp.h.

#define ARPHRD_ETHER   1 /* Ethernet 10Mbps */

Definition at line 30 of file if_arp.h.

#define ARPHRD_EUI64   27 /* EUI-64 */

Definition at line 42 of file if_arp.h.

#define ARPHRD_FCAL   785 /* Fibrechannel arbitrated loop */

Definition at line 81 of file if_arp.h.

#define ARPHRD_FCFABRIC   787 /* Fibrechannel fabric */

Definition at line 83 of file if_arp.h.

#define ARPHRD_FCPL   786 /* Fibrechannel public loop */

Definition at line 82 of file if_arp.h.

#define ARPHRD_FCPP   784 /* Point to point fibrechannel */

Definition at line 80 of file if_arp.h.

#define ARPHRD_FDDI   774 /* Fiber Distributed Data Interface */

Definition at line 69 of file if_arp.h.

#define ARPHRD_FRAD   770 /* Frame Relay Access Device */

Definition at line 65 of file if_arp.h.

#define ARPHRD_HDLC   ARPHRD_CISCO

Definition at line 58 of file if_arp.h.

#define ARPHRD_HIPPI   780 /* High Performance Parallel Interface */

Definition at line 75 of file if_arp.h.

#define ARPHRD_HWX25   272 /* Boards with X.25 in firmware */

Definition at line 54 of file if_arp.h.

#define ARPHRD_IEEE1394   24 /* IEEE 1394 IPv4 - RFC 2734 */

Definition at line 41 of file if_arp.h.

#define ARPHRD_IEEE802   6 /* IEEE 802.2 Ethernet/TR/TB */

Definition at line 35 of file if_arp.h.

#define ARPHRD_IEEE80211   801 /* IEEE 802.11 */

Definition at line 86 of file if_arp.h.

#define ARPHRD_IEEE80211_PRISM   802 /* IEEE 802.11 + Prism2 header */

Definition at line 87 of file if_arp.h.

#define ARPHRD_IEEE80211_RADIOTAP   803 /* IEEE 802.11 + radiotap header */

Definition at line 88 of file if_arp.h.

#define ARPHRD_IEEE802154   804

Definition at line 89 of file if_arp.h.

#define ARPHRD_IEEE802154_MONITOR   805 /* IEEE 802.15.4 network monitor */

Definition at line 90 of file if_arp.h.

#define ARPHRD_IEEE802_TR   800 /* Magic type ident for TR */

Definition at line 85 of file if_arp.h.

#define ARPHRD_INFINIBAND   32 /* InfiniBand */

Definition at line 43 of file if_arp.h.

#define ARPHRD_IP6GRE   823 /* GRE over IPv6 */

Definition at line 95 of file if_arp.h.

#define ARPHRD_IPDDP   777 /* IP over DDP tunneller */

Definition at line 72 of file if_arp.h.

#define ARPHRD_IPGRE   778 /* GRE over IP */

Definition at line 73 of file if_arp.h.

#define ARPHRD_IRDA   783 /* Linux-IrDA */

Definition at line 78 of file if_arp.h.

#define ARPHRD_LAPB   516 /* LAPB */

Definition at line 59 of file if_arp.h.

#define ARPHRD_LOCALTLK   773 /* Localtalk device */

Definition at line 68 of file if_arp.h.

#define ARPHRD_LOOPBACK   772 /* Loopback device */

Definition at line 67 of file if_arp.h.

#define ARPHRD_METRICOM   23 /* Metricom STRIP (new IANA id) */

Definition at line 40 of file if_arp.h.

#define ARPHRD_NETROM   0 /* from KA9Q: NET/ROM pseudo */

Definition at line 29 of file if_arp.h.

#define ARPHRD_NONE   0xFFFE /* zero header length */

Definition at line 98 of file if_arp.h.

#define ARPHRD_PHONET   820 /* PhoNet media type */

Definition at line 92 of file if_arp.h.

#define ARPHRD_PHONET_PIPE   821 /* PhoNet pipe header */

Definition at line 93 of file if_arp.h.

#define ARPHRD_PIMREG   779 /* PIMSM register interface */

Definition at line 74 of file if_arp.h.

#define ARPHRD_PPP   512

Definition at line 56 of file if_arp.h.

#define ARPHRD_PRONET   4 /* PROnet token ring */

Definition at line 33 of file if_arp.h.

#define ARPHRD_RAWHDLC   518 /* Raw HDLC */

Definition at line 61 of file if_arp.h.

#define ARPHRD_ROSE   270

Definition at line 52 of file if_arp.h.

#define ARPHRD_RSRVD   260 /* Notional KISS type */

Definition at line 50 of file if_arp.h.

#define ARPHRD_SIT   776 /* sit0 device - IPv6-in-IPv4 */

Definition at line 71 of file if_arp.h.

#define ARPHRD_SKIP   771 /* SKIP vif */

Definition at line 66 of file if_arp.h.

#define ARPHRD_SLIP   256

Definition at line 46 of file if_arp.h.

#define ARPHRD_SLIP6   258

Definition at line 48 of file if_arp.h.

#define ARPHRD_TUNNEL   768 /* IPIP tunnel */

Definition at line 63 of file if_arp.h.

#define ARPHRD_TUNNEL6   769 /* IP6IP6 tunnel */

Definition at line 64 of file if_arp.h.

#define ARPHRD_VOID   0xFFFF /* Void type, nothing is known */

Definition at line 97 of file if_arp.h.

#define ARPHRD_X25   271 /* CCITT X.25 */

Definition at line 53 of file if_arp.h.

#define ARPOP_InREPLY   9 /* InARP reply */

Definition at line 106 of file if_arp.h.

#define ARPOP_InREQUEST   8 /* InARP request */

Definition at line 105 of file if_arp.h.

#define ARPOP_NAK   10 /* (ATM)ARP NAK */

Definition at line 107 of file if_arp.h.

#define ARPOP_REPLY   2 /* ARP reply */

Definition at line 102 of file if_arp.h.

#define ARPOP_REQUEST   1 /* ARP request */

Definition at line 101 of file if_arp.h.

#define ARPOP_RREPLY   4 /* RARP reply */

Definition at line 104 of file if_arp.h.

#define ARPOP_RREQUEST   3 /* RARP request */

Definition at line 103 of file if_arp.h.

#define ATF_COM   0x02 /* completed entry (ha valid) */

Definition at line 127 of file if_arp.h.

#define ATF_DONTPUB   0x40 /* don't answer this addresses */

Definition at line 132 of file if_arp.h.

#define ATF_NETMASK
Value:
0x20 /* want to use a netmask (only
for proxy entries) */

Definition at line 131 of file if_arp.h.

#define ATF_PERM   0x04 /* permanent entry */

Definition at line 128 of file if_arp.h.

#define ATF_PUBL   0x08 /* publish entry */

Definition at line 129 of file if_arp.h.

#define ATF_USETRAILERS   0x10 /* has requested trailers */

Definition at line 130 of file if_arp.h.