This file contains control sequences to print color text on a text console capable of interpreting and displaying control sequences.
A capable console would be unix bash, os/2 shell, or command.com w/ ansi.sys loaded
TOS is an 8-bit record in an IP header which contains a 3-bit precendence field, 4 TOS bit fields and a 0 bit.
The following constants are bit masks which can be logically and'ed with the 8-bit IP TOS field to determine what type of service is set.
Taken from TCP/IP Illustrated V1 by Richard Stevens, p34.
Taken from libpcap/bpf/net/bpf.h and pcap/net/bpf.h.
The link-layer type is used to determine what data-structure the IP protocol bits will be encapsulated inside of.
On a 10/100mbps network, packets are encapsulated inside of ethernet. 14-byte ethernet headers which contain MAC addresses and an ethernet type field.
On ethernet over ppp, the link-layer type is raw, and packets are not encapsulated in any ethernet header.