Ignore:
Timestamp:
May 19, 2003, 4:41:00 AM (23 years ago)
Author:
bird
Message:

#434: Initial tcpip header merges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/net/if_arp.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r182 r183  
    11/* Modified for emx by hv 1994,1996
     2
    23 *
    34 * Copyright (c) 1986 Regents of the University of California.
     
    4950 * specified.  Field names used correspond to RFC 826.
    5051 */
     52
     53
     54
    5155struct  arphdr {
    5256        u_short ar_hrd;         /* format of hardware address */
    5357#define ARPHRD_ETHER    1       /* ethernet hardware address */
    5458#define ARPHRD_802      6       /* 802 net hardware address */
     59
     60
     61
    5562        u_short ar_pro;         /* format of protocol address */
    5663        u_char  ar_hln;         /* length of hardware address */
     
    5966#define ARPOP_REQUEST   1       /* request to resolve address */
    6067#define ARPOP_REPLY     2       /* response to previous request */
     68
     69
     70
     71
     72
     73
     74
    6175#define REVARP_REQUEST  3       /* reverse ARP request (not IBM) */
    6276#define REVARP_REPLY    4       /* reverse ARP reply (not IBM) */
     77
    6378/*
    6479 * The remaining fields are variable in size,
     
    7085/*      u_char  ar_tpa[];        * target protocol address */
    7186};
     87
     88
     89
    7290
    7391/*
    7492 * ARP ioctl request
    7593 */
     94
     95
     96
    7697struct arpreq {
    7798        struct  sockaddr arp_pa;                /* protocol address */
     
    79100        int     arp_flags;                      /* flags */
    80101};
     102
     103
     104
     105
     106
     107
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
    81121/*  arp_flags and at_flags field values */
    82122#define ATF_INUSE       0x01    /* entry in use */
     
    85125#define ATF_PUBL        0x08    /* publish entry (respond for other host) */
    86126#define ATF_USETRAILERS 0x10    /* has requested trailers */
     127
     128
     129
    87130
    88131#endif /* !_NET_IF_ARP_H_ */
Note: See TracChangeset for help on using the changeset viewer.