2017-01-09 11:33:55 -08:00
|
|
|
// Package netlink provides low-level access to Linux netlink sockets.
|
2018-08-14 12:15:07 -07:00
|
|
|
//
|
|
|
|
//
|
|
|
|
// Debugging
|
|
|
|
//
|
|
|
|
// This package supports rudimentary netlink connection debugging support.
|
|
|
|
// To enable this, run your binary with the NLDEBUG environment variable set.
|
|
|
|
// Debugging information will be output to stderr with a prefix of "nl:".
|
|
|
|
//
|
|
|
|
// To use the debugging defaults, use:
|
|
|
|
//
|
|
|
|
// $ NLDEBUG=1 ./nlctl
|
|
|
|
//
|
|
|
|
// To configure individual aspects of the debugger, pass key/value options such
|
|
|
|
// as:
|
|
|
|
//
|
|
|
|
// $ NLDEBUG=level=1 ./nlctl
|
|
|
|
//
|
|
|
|
// Available key/value debugger options include:
|
|
|
|
//
|
|
|
|
// level=N: specify the debugging level (only "1" is currently supported)
|
2017-01-09 11:33:55 -08:00
|
|
|
package netlink
|