// String returns a minimal encoding of the IpHdr struct.
String returns a minimal encoding of the IpHdr struct.
// String returns a minimal encoding of the IpHdr struct .
func (h *IpHdr) String() string {
	return fmt.Sprintf("%s->%s %#x",
		h.SrcAddr.String(),
		h.DstAddr.String(),
		h.Protocol)
}
func ( h * IpHdr ) String ( ) string { return fmt . Sprintf ( " " , h . SrcAddr . String ( ) , h . DstAddr . String ( ) , h . Protocol ) }
String returns a minimal encoding of the IpHdr struct.
String returns a minimal encoding of the IpHdr struct .