Documentation ¶
Overview ¶
Package userdata implements a TLV parser/serializer for libnftables-compatible comments
Index ¶
- func Append(udata []byte, typ Type, data []byte) []byte
- func AppendString(udata []byte, typ Type, str string) []byte
- func AppendUint32(udata []byte, typ Type, num uint32) []byte
- func Get(udata []byte, styp Type) []byte
- func GetString(udata []byte, typ Type) (string, bool)
- func GetUint32(udata []byte, typ Type) (uint32, bool)
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.