File:  [Research Unix] / researchv10no / cmd / ether / ethernet.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

#ifndef _ETHERNET_
#define _ETHERNET_

struct ether_in {
     u_char    dhost[6];
     u_char    shost[6];
     u_short   type;
};

struct ether_out {
     u_char    dhost[6];
     u_short   type;
};

#define ETHERPUP_IPTYPE	      0x800
#define ETHERPUP_CHAOSTYPE    0x804
#define ETHERPUP_ARPTYPE      0x806

#endif

#ifndef CHANS_PER_UNIT
#define CHANS_PER_UNIT	8
#endif

unix.superglobalmegacorp.com

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