unix

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL