github.com/vishvananda/netlink@v1.3.0/fou.go (about)

     1  package netlink
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  var (
     8  	// ErrAttrHeaderTruncated is returned when a netlink attribute's header is
     9  	// truncated.
    10  	ErrAttrHeaderTruncated = errors.New("attribute header truncated")
    11  	// ErrAttrBodyTruncated is returned when a netlink attribute's body is
    12  	// truncated.
    13  	ErrAttrBodyTruncated = errors.New("attribute body truncated")
    14  )
    15  
    16  type Fou struct {
    17  	Family    int
    18  	Port      int
    19  	Protocol  int
    20  	EncapType int
    21  }