Documentation ¶
Overview ¶
Package unix contains some constants, that are needed to use github.com/florianl/go-tc. Some of these constants are copied from golang.org/x/sys/unix to make them available also to other OS than linux. In the end, the only source of truth will be the Linux kernel itself.
Index ¶
Constants ¶
View Source
const ( LINKLAYER_UNSPEC = iota LINKLAYER_ETHERNET LINKLAYER_ATM )
Make linter happy with this comment.
View Source
const ( ATM_CELL_PAYLOAD = 48 ATM_CELL_SIZE = 53 )
Make linter happy with this comment.
View Source
const ( AF_UNSPEC = linux.AF_UNSPEC NETLINK_ROUTE = linux.NETLINK_ROUTE IFLA_EXT_MASK = linux.IFLA_EXT_MASK RTM_GETLINK = linux.RTM_GETLINK RTNLGRP_TC = linux.RTNLGRP_TC )
Make linter happy with this comment.
View Source
const ( RTM_NEWTFILTER = linux.RTM_NEWTFILTER RTM_DELTFILTER = linux.RTM_DELTFILTER RTM_GETTFILTER = linux.RTM_GETTFILTER )
Make linter happy with this comment.
View Source
const ( RTM_NEWTCLASS = linux.RTM_NEWTCLASS RTM_DELTCLASS = linux.RTM_DELTCLASS RTM_GETTCLASS = linux.RTM_GETTCLASS )
Make linter happy with this comment.
View Source
const ( RTM_NEWQDISC = linux.RTM_NEWQDISC RTM_DELQDISC = linux.RTM_DELQDISC RTM_GETQDISC = linux.RTM_GETQDISC )
Make linter happy with this comment.
View Source
const ( RTM_NEWCHAIN = linux.RTM_NEWCHAIN RTM_DELCHAIN = linux.RTM_DELCHAIN RTM_GETCHAIN = linux.RTM_GETCHAIN )
Make linter happy with this comment.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.