-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy patherrors.go
More file actions
19 lines (13 loc) · 695 Bytes
/
Copy patherrors.go
File metadata and controls
19 lines (13 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package netfilter
import (
"errors"
)
var (
// errInvalidAttributeFlags specifies if an Attribute's flag configuration is invalid.
// From a comment in Linux/include/uapi/linux/netlink.h, Nested and NetByteOrder are mutually exclusive.
errInvalidAttributeFlags = errors.New("invalid attribute; type cannot have both nested and net byte order flags")
errMessageLen = errors.New("expected at least 4 bytes in netlink message payload")
errConnIsMulticast = errors.New("Conn attached to multicast group, re-dial for sending messages")
errNoMulticastGroups = errors.New("need one or more multicast groups to join")
errNilAttributeEncoder = errors.New("given AttributeEncoder is nil")
)