func (h Header) RawHeader() RawHeader {
	var header RawHeader
	header.VersionIHL = (h.Version << 4) | h.IHL
	header.ToS = h.ToS
	header.TotalLength = h.TotalLength
	header.Identification = h.Identification
	header.FlagsFragmentOffset = (uint16(h.Flags) << 13) | h.FragmentOffset
	header.TTL = h.TTL
	header.Protocol = h.Protocol
	header.Checksum = h.Checksum
	header.Source = h.Source
	header.Destination = h.Destination
	return header
}
// RawHeader converts the header to a RawHeader.
RawHeader converts the header to a RawHeader.
// RawHeader converts the header to a RawHeader .
func (h Header) RawHeader() RawHeader {
	var header RawHeader
	header.VersionIHL = (h.Version << 4) | h.IHL
	header.ToS = h.ToS
	header.TotalLength = h.TotalLength
	header.Identification = h.Identification
	header.FlagsFragmentOffset = (uint16(h.Flags) << 13) | h.FragmentOffset
	header.TTL = h.TTL
	header.Protocol = h.Protocol
	header.Checksum = h.Checksum
	header.Source = h.Source
	header.Destination = h.Destination
	return header
}
func ( h Header ) RawHeader ( ) RawHeader { var header RawHeader header . VersionIHL = ( h . Version << 4 ) | h . IHL header . ToS = h . ToS header . TotalLength = h . TotalLength header . Identification = h . Identification header . FlagsFragmentOffset = ( uint16 ( h . Flags ) << 13 ) | h . FragmentOffset header . TTL = h . TTL header . Protocol = h . Protocol header . Checksum = h . Checksum header . Source = h . Source header . Destination = h . Destination return header }
RawHeader converts the header to a RawHeader.
RawHeader converts the header to a RawHeader .