Documentation ¶
Overview ¶
Package unix contains some constants, that are needed to use github.com/florianl/go-diag. 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 ( AF_INET = linux.AF_INET AF_INET6 = linux.AF_INET6 AF_UNIX = linux.AF_UNIX IPPROTO_TCP = linux.IPPROTO_TCP IPPROTO_UDP = linux.IPPROTO_UDP IPPROTO_SCTP = linux.IPPROTO_SCTP IPPROTO_RAW = linux.IPPROTO_RAW NETLINK_SOCK_DIAG = linux.NETLINK_SOCK_DIAG SOCK_DIAG_BY_FAMILY = linux.SOCK_DIAG_BY_FAMILY )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.