2017-01-09 20:33:55 +01:00
|
|
|
// Package netlink provides low-level access to Linux netlink sockets.
|
2018-08-14 21:15:07 +02: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 20:33:55 +01:00
|
|
|
package netlink
|