mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +08:00
fix(deps): update module github.com/vishvananda/netlink to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
22
vendor/github.com/vishvananda/netlink/link.go
generated
vendored
22
vendor/github.com/vishvananda/netlink/link.go
generated
vendored
@@ -290,8 +290,15 @@ func (bridge *Bridge) Type() string {
|
||||
// Vlan links have ParentIndex set in their Attrs()
|
||||
type Vlan struct {
|
||||
LinkAttrs
|
||||
VlanId int
|
||||
VlanProtocol VlanProtocol
|
||||
VlanId int
|
||||
VlanProtocol VlanProtocol
|
||||
IngressQosMap map[uint32]uint32
|
||||
EgressQosMap map[uint32]uint32
|
||||
ReorderHdr *bool
|
||||
Gvrp *bool
|
||||
LooseBinding *bool
|
||||
Mvrp *bool
|
||||
BridgeBinding *bool
|
||||
}
|
||||
|
||||
func (vlan *Vlan) Attrs() *LinkAttrs {
|
||||
@@ -426,6 +433,17 @@ type Veth struct {
|
||||
PeerName string // veth on create only
|
||||
PeerHardwareAddr net.HardwareAddr
|
||||
PeerNamespace interface{}
|
||||
PeerTxQLen int
|
||||
PeerNumTxQueues uint32
|
||||
PeerNumRxQueues uint32
|
||||
PeerMTU uint32
|
||||
}
|
||||
|
||||
func NewVeth(attr LinkAttrs) *Veth {
|
||||
return &Veth{
|
||||
LinkAttrs: attr,
|
||||
PeerTxQLen: -1,
|
||||
}
|
||||
}
|
||||
|
||||
func (veth *Veth) Attrs() *LinkAttrs {
|
||||
|
||||
Reference in New Issue
Block a user