Documentation ¶
Index ¶
Constants ¶
View Source
const ( GENL_ADMIN_PERM uint8 = 1 << iota GENL_CMD_CAP_DO GENL_CMD_CAP_DUMP GENL_CMD_CAP_HASPOL GENL_UNS_ADMIN_PERM )
View Source
const ( GENL_ID_CTRL = nl.NLMSG_MIN_TYPE + iota GENL_ID_VFS_DQUOT GENL_ID_PMCRAID GENL_START_ALLOC )
List of reserved static generic netlink identifiers:
View Source
const ( CTRL_CMD_UNSPEC uint8 = iota CTRL_CMD_NEWFAMILY CTRL_CMD_DELFAMILY CTRL_CMD_GETFAMILY CTRL_CMD_NEWOPS CTRL_CMD_DELOPS CTRL_CMD_GETOPS CTRL_CMD_NEWMCAST_GRP CTRL_CMD_DELMCAST_GRP CTRL_CMD_GETMCAST_GRP /* unused */ N_CTRL_CMD )
Controller
View Source
const ( CTRL_ATTR_UNSPEC uint16 = iota CTRL_ATTR_FAMILY_ID CTRL_ATTR_FAMILY_NAME CTRL_ATTR_VERSION CTRL_ATTR_HDRSIZE CTRL_ATTR_MAXATTR CTRL_ATTR_OPS CTRL_ATTR_MCAST_GROUPS N_CTRL_ATTR )
View Source
const ( CTRL_ATTR_OP_UNSPEC uint16 = iota CTRL_ATTR_OP_ID CTRL_ATTR_OP_FLAGS N_CTRL_ATTR_OP )
View Source
const ( CTRL_ATTR_MCAST_GRP_UNSPEC uint16 = iota CTRL_ATTR_MCAST_GRP_NAME CTRL_ATTR_MCAST_GRP_ID N_CTRL_ATTR_MCAST_GRP )
View Source
const CTRL_ATTR_MAX = N_CTRL_ATTR - 1
View Source
const CTRL_ATTR_MCAST_GRP_MAX = N_CTRL_ATTR_MCAST_GRP - 1
View Source
const CTRL_ATTR_OP_MAX = N_CTRL_ATTR_OP - 1
View Source
const CTRL_CMD_MAX = N_CTRL_CMD - 1
View Source
const GENL_MAX_ID uint16 = 1023
View Source
const GENL_MIN_ID = nl.NLMSG_MIN_TYPE
View Source
const GENL_NAMSIZ = 16 // length of family name
View Source
const MSG nl.Align = SizeofMsg
View Source
const SizeofMsg = (2 * sizeof.Byte) + sizeof.Short
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gea ¶
type Gea [N_CTRL_ATTR][]byte
Click to show internal directories.
Click to hide internal directories.