~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/mibII/at.h

  • Committer: Bazaar Package Importer
  • Author(s): Jochen Friedrich
  • Date: 2010-06-10 18:02:54 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100610180254-6ezvupl2clicwdqf
ImportĀ upstreamĀ versionĀ 5.4.3~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# define ATF_COM        0x02
32
32
#endif                          /*  ATF_COM */
33
33
 
 
34
/* InfiniBand uses HW addr > 6 */
 
35
#define MAX_MAC_ADDR_LEN 32 
 
36
 
34
37
#if defined(linux) || defined(irix6)
35
38
/*
36
39
 * arp struct to pass flags, hw-addr and ip-addr in bsd manner:
37
40
 */
38
41
     struct arptab {
39
42
         int             at_flags;
40
 
         char            at_enaddr[6];
 
43
         char            at_enaddr[MAX_MAC_ADDR_LEN];
 
44
         int             at_enaddr_len;
41
45
         struct in_addr  at_iaddr;
42
46
         int             if_index;
43
47
     };