// CsvElement returns a CSV encoding of the EthHdr struct.
// The string "ETH" signifies the beginning of the EthHdr.
CsvElement returns a CSV encoding of the EthHdr struct.
The string "ETH" signifies the beginning of the EthHdr.
// CsvElement returns a CSV encoding of the EthHdr struct . // The string " ETH " signifies the beginning of the EthHdr .
func (h *EthHdr) CsvElement() string {
	return fmt.Sprintf("\"ETH\",\"%s\",\"%s\",%d",
		h.SrcAddr.String(),
		h.DstAddr.String(),
		h.EtherType)
}
func ( h * EthHdr ) CsvElement ( ) string { return fmt . Sprintf ( " \" \" \" \" \" \" " , h . SrcAddr . String ( ) , h . DstAddr . String ( ) , h . EtherType ) }
CsvElement returns a CSV encoding of the EthHdr struct.
CsvElement returns a CSV encoding of the EthHdr struct .