public EthernetHeader(SocketBuffer skbuf) { this.destination = new EthernetAddress(skbuf, 0); this.source = new EthernetAddress(skbuf, 6); this.lengthType = skbuf.get16(12);
public EthernetHeader( EthernetAddress destination, EthernetAddress source, int lengthType) { this.destination = destination; this.source = source; this.lengthType = lengthType;
	public EthernetHeader(SocketBuffer skbuf) {		this.destination = new EthernetAddress(skbuf, 0);		this.source = new EthernetAddress(skbuf, 6);		this.lengthType = skbuf.get16(12);	}