Documentation
¶
Index ¶
- Constants
- func AddrRecAsSlice(arec AddrRec) []byte
- func AddrRecCheck(arec []byte) (ok bool, length, ea_iplen, gw_iplen int)
- func AddrRecDecode(arecb []byte) (bool, int, AddrRec)
- func AddrRecEncode(arecb []byte, arec AddrRec) int
- func AddrRecEncodedLen(ea_iplen, gw_iplen int) int
- func AddrRecEncodedLenOf(arec AddrRec) int
- func AddrRecSlices(arec []byte, ea_iplen, gw_iplen int) (length int, ea, ip, gw, ref []byte)
Constants ¶
View Source
const ( V1_AREC_MIN_LEN = 4 + 4 + 4 + 4 + 16 // header + ea + ip + gw + ref.h + ref.l V1_AREC_MAX_LEN = 4 + 16 + 16 + 16 + 16 // v1 header offsets V1_RESERVED = 4 )
Variables ¶
This section is empty.
Functions ¶
func AddrRecAsSlice ¶
func AddrRecAsSlice(arec AddrRec) []byte
func AddrRecCheck ¶
func AddrRecDecode ¶
func AddrRecEncode ¶
func AddrRecEncodedLen ¶
func AddrRecEncodedLenOf ¶
func AddrRecEncodedLenOf(arec AddrRec) int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.