aboutsummaryrefslogtreecommitdiffstats
path: root/extras/gomemif/memif/interface.go
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2021-05-07 19:39:07 +0200
committerBeno�t Ganne <bganne@cisco.com>2021-09-27 09:03:17 +0000
commit176373caed97601baefa2d23a5173461bf87734a (patch)
treee5d6a5ec0a07b0cc80898a13a7c3e7b558e40b01 /extras/gomemif/memif/interface.go
parenta1400cecb8d8b423e83bd584e59fa817b8a243d9 (diff)
gomemif: Add mode support
Type: feature Change-Id: I0bc51288bc63a0583b98314e4e2a62383b0d6e43 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'extras/gomemif/memif/interface.go')
-rw-r--r--extras/gomemif/memif/interface.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/gomemif/memif/interface.go b/extras/gomemif/memif/interface.go
index a571deb43c9..15a8e87453c 100644
--- a/extras/gomemif/memif/interface.go
+++ b/extras/gomemif/memif/interface.go
@@ -71,6 +71,7 @@ type MemoryConfig struct {
type Arguments struct {
Id uint32 // Interface identifier unique across socket. Used to identify peer interface when connecting
IsMaster bool // Interface role master/slave
+ Mode interfaceMode
Name string
Secret [24]byte // optional parameter, secrets of the interfaces must match if they are to connect
MemoryConfig MemoryConfig