func NewDefaultPacket() Packet {
	ident := atomic.AddUint32(&identificationCounter, 1)
	return Packet{
		Header: Header{
			Version: 4, IHL: 5, ToS: 0, TotalLength: 20, TTL: 64,
			Identification: uint16(ident),
		},
	}
}
// NewDefaultPacket constructs a default IPv4 packet.
NewDefaultPacket constructs a default IPv4 packet.
// NewDefaultPacket constructs a default IPv4 packet .
func NewDefaultPacket() Packet {
	ident := atomic.AddUint32(&identificationCounter, 1)
	return Packet{
		Header: Header{
			Version: 4, IHL: 5, ToS: 0, TotalLength: 20, TTL: 64,
			Identification: uint16(ident),
		},
	}
}
func NewDefaultPacket ( ) Packet { ident := atomic . AddUint32 ( & identificationCounter , 1 ) return Packet { Header : Header { Version : 4 , IHL : 5 , ToS : 0 , TotalLength : 20 , TTL : 64 , Identification : uint16 ( ident ) , } , } }
NewDefaultPacket constructs a default IPv4 packet.
NewDefaultPacket constructs a default IPv4 packet .