|
|
1.1 ! root 1: /* ! 2: * Address resolution definitions - ethernet and chaosnet specific ! 3: */ ! 4: struct ar_packet { ! 5: short ar_hardware; /* Hardware type */ ! 6: short ar_protocol; /* Protocol-id - same as Ethernet packet type */ ! 7: u_char ar_hlength; /* Hardware address length = 6 for ethernet */ ! 8: u_char ar_plength; /* Protocol address length = 2 for chaosnet */ ! 9: short ar_opcode; /* Address resolution op-code */ ! 10: u_char ar_esender[6]; /* Ethernet sender address */ ! 11: chaddr ar_csender; /* Chaos sender address */ ! 12: u_char ar_etarget[6]; /* Target ethernet address */ ! 13: chaddr ar_ctarget; /* target chaos address */ ! 14: }; ! 15: ! 16: /* ! 17: * Values for ar_hardware: ! 18: */ ! 19: #define AR_ETHERNET (1<<8) /* Ethernet hardware */ ! 20: /* ! 21: * Values for ar_opcode: ! 22: */ ! 23: #define AR_REQUEST (1<<8) /* Request for resolution */ ! 24: #define AR_REPLY (2<<8) /* Reply to request */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.