-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
135 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
package netlink | ||
|
||
import ( | ||
"errors" | ||
) | ||
|
||
var ( | ||
// ErrAttrHeaderTruncated is returned when a netlink attribute's header is | ||
// truncated. | ||
ErrAttrHeaderTruncated = errors.New("attribute header truncated") | ||
// ErrAttrBodyTruncated is returned when a netlink attribute's body is | ||
// truncated. | ||
ErrAttrBodyTruncated = errors.New("attribute body truncated") | ||
"net" | ||
) | ||
|
||
type Fou struct { | ||
Family int | ||
Port int | ||
Protocol int | ||
EncapType int | ||
Port int | ||
PeerPort int | ||
LocalAddr net.IP | ||
PeerAddr net.IP | ||
IfIndex int | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.