Back to index

glibc  2.9
Classes | Defines
if_arp.h File Reference
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/socket.h>

Go to the source code of this file.

Classes

struct  arphdr
struct  arpreq
struct  arpd_request

Defines

#define MAX_ADDR_LEN   7
#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 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_METRICOM   23 /* Metricom STRIP (new IANA id). */
#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_PPP   512
#define ARPHRD_HDLC   513 /* (Cisco) HDLC. */
#define ARPHRD_LAPB   516 /* LAPB. */
#define ARPHRD_TUNNEL   768 /* IPIP tunnel. */
#define ARPHRD_TUNNEL6   769 /* IPIP6 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 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. */
#define ATF_MAGIC   0x80 /* Automatically added entry. */
#define ARPD_UPDATE   0x01
#define ARPD_LOOKUP   0x02
#define ARPD_FLUSH   0x03

Class Documentation

struct arphdr

Definition at line 52 of file if_arp.h.

Class Members
unsigned char ar_hln
unsigned short int ar_hrd
unsigned short int ar_op
unsigned char ar_pln
unsigned short int ar_pro
struct arpreq

Definition at line 108 of file if_arp.h.

Class Members
char arp_dev
int arp_flags
struct arpd_request

Definition at line 132 of file if_arp.h.

Class Members
unsigned long int dev
unsigned char ha
u_int32_t ip
unsigned short int req
unsigned long int stamp
unsigned long int updated

Define Documentation

#define ARPD_FLUSH   0x03

Definition at line 130 of file if_arp.h.

#define ARPD_LOOKUP   0x02

Definition at line 129 of file if_arp.h.

#define ARPD_UPDATE   0x01

Definition at line 128 of file if_arp.h.

#define ARPHRD_ADAPT   264

Definition at line 89 of file if_arp.h.

#define ARPHRD_APPLETLK   8 /* APPLEtalk. */

Definition at line 79 of file if_arp.h.

#define ARPHRD_ARCNET   7 /* ARCnet. */

Definition at line 78 of file if_arp.h.

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

Definition at line 74 of file if_arp.h.

#define ARPHRD_BIF   775 /* AP1000 BIF. */

Definition at line 103 of file if_arp.h.

#define ARPHRD_CHAOS   5 /* Chaosnet. */

Definition at line 76 of file if_arp.h.

#define ARPHRD_CSLIP   257

Definition at line 85 of file if_arp.h.

#define ARPHRD_CSLIP6   259

Definition at line 87 of file if_arp.h.

#define ARPHRD_DLCI   15 /* Frame Relay DLCI. */

Definition at line 80 of file if_arp.h.

#define ARPHRD_EETHER   2 /* Experimental Ethernet. */

Definition at line 73 of file if_arp.h.

#define ARPHRD_ETHER   1 /* Ethernet 10Mbps. */

Definition at line 72 of file if_arp.h.

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

Definition at line 102 of file if_arp.h.

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

Definition at line 98 of file if_arp.h.

#define ARPHRD_HDLC   513 /* (Cisco) HDLC. */

Definition at line 93 of file if_arp.h.

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

Definition at line 77 of file if_arp.h.

#define ARPHRD_LAPB   516 /* LAPB. */

Definition at line 94 of file if_arp.h.

#define ARPHRD_LOCALTLK   773 /* Localtalk device. */

Definition at line 101 of file if_arp.h.

#define ARPHRD_LOOPBACK   772 /* Loopback device. */

Definition at line 100 of file if_arp.h.

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

Definition at line 81 of file if_arp.h.

#define ARPHRD_NETROM   0 /* From KA9Q: NET/ROM pseudo. */

Definition at line 71 of file if_arp.h.

#define ARPHRD_PPP   512

Definition at line 92 of file if_arp.h.

#define ARPHRD_PRONET   4 /* PROnet token ring. */

Definition at line 75 of file if_arp.h.

#define ARPHRD_ROSE   270

Definition at line 90 of file if_arp.h.

#define ARPHRD_RSRVD   260 /* Notional KISS type. */

Definition at line 88 of file if_arp.h.

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

Definition at line 104 of file if_arp.h.

#define ARPHRD_SKIP   771 /* SKIP vif. */

Definition at line 99 of file if_arp.h.

#define ARPHRD_SLIP   256

Definition at line 84 of file if_arp.h.

#define ARPHRD_SLIP6   258

Definition at line 86 of file if_arp.h.

#define ARPHRD_TUNNEL   768 /* IPIP tunnel. */

Definition at line 96 of file if_arp.h.

#define ARPHRD_TUNNEL6   769 /* IPIP6 tunnel. */

Definition at line 97 of file if_arp.h.

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

Definition at line 91 of file if_arp.h.

#define ARPOP_REPLY   2 /* ARP reply. */

Definition at line 41 of file if_arp.h.

#define ARPOP_REQUEST   1 /* ARP request. */

Definition at line 40 of file if_arp.h.

#define ARPOP_RREPLY   4 /* RARP reply. */

Definition at line 43 of file if_arp.h.

#define ARPOP_RREQUEST   3 /* RARP request. */

Definition at line 42 of file if_arp.h.

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

Definition at line 118 of file if_arp.h.

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

Definition at line 123 of file if_arp.h.

#define ATF_MAGIC   0x80 /* Automatically added entry. */

Definition at line 124 of file if_arp.h.

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

Definition at line 122 of file if_arp.h.

#define ATF_PERM   0x04 /* Permanent entry. */

Definition at line 119 of file if_arp.h.

#define ATF_PUBL   0x08 /* Publish entry. */

Definition at line 120 of file if_arp.h.

#define ATF_USETRAILERS   0x10 /* Has requested trailers. */

Definition at line 121 of file if_arp.h.

#define MAX_ADDR_LEN   7

Definition at line 34 of file if_arp.h.