File:  [Research Unix] / researchv8dc / sys / chaos / address-res.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

/*
 * Address resolution definitions - ethernet and chaosnet specific
 */
struct ar_packet {
	short	ar_hardware;	/* Hardware type */
	short	ar_protocol;	/* Protocol-id - same as Ethernet packet type */
	u_char	ar_hlength;	/* Hardware address length = 6 for ethernet */
	u_char	ar_plength;	/* Protocol address length = 2 for chaosnet */
	short	ar_opcode;	/* Address resolution op-code */
	u_char	ar_esender[6];	/* Ethernet sender address */
	chaddr	ar_csender;	/* Chaos sender address */
	u_char 	ar_etarget[6];	/* Target ethernet address */
	chaddr 	ar_ctarget;	/* target chaos address */
};

/*
 * Values for ar_hardware:
 */
#define AR_ETHERNET	(1<<8)	/* Ethernet hardware */
/*
 * Values for ar_opcode:
 */
#define AR_REQUEST	(1<<8)	/* Request for resolution */
#define AR_REPLY	(2<<8)	/* Reply to request */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.