fou.go 436 B

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