Documentation
¶
Index ¶
- Constants
- func AddrRecDecode(ea_iplen, gw_iplen int, arecb []byte) (arec AddrRec)
- func AddrRecEncode(arecb []byte, arec AddrRec)
- func AddrRecEncodedLen(ea_iplen, gw_iplen int) int
- func AddrRecEncodedLenOf(arec AddrRec) int
- func AddrRecSlices(ea_iplen, gw_iplen int, arec []byte) (ea, ip, gw, refh, refl []byte)
Constants ¶
View Source
const ( V1_AREC_MAX_LEN = 16 + 16 + 16 + 16 // ea + ip + gw + ref.h + ref.l // v1 header offsets V1_IPVER = 4 // high nibble is the ea IP ver, low nibble is gw IP ver V1_RESERVED = 5 )
Variables ¶
This section is empty.
Functions ¶
func AddrRecDecode ¶
func AddrRecEncode ¶
func AddrRecEncode(arecb []byte, arec AddrRec)
func AddrRecEncodedLen ¶
func AddrRecEncodedLenOf ¶
func AddrRecEncodedLenOf(arec AddrRec) int
func AddrRecSlices ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.