Documentation ¶
Overview ¶
Package flow_types contains generated bindings for API file flow_types.api.
Contents:
2 enums 17 structs 1 union
Index ¶
- Variables
- type FlowAction
- type FlowEthernet
- type FlowIP4
- type FlowIP4Gtpc
- type FlowIP4Gtpu
- type FlowIP4IpsecAh
- type FlowIP4IpsecEsp
- type FlowIP4L2tpv3oip
- type FlowIP4NTuple
- type FlowIP4NTupleTagged
- type FlowIP4Vxlan
- type FlowIP6
- type FlowIP6NTuple
- type FlowIP6NTupleTagged
- type FlowIP6Vxlan
- type FlowRule
- type FlowType
- type FlowUnion
- func FlowUnionEthernet(a FlowEthernet) (u FlowUnion)
- func FlowUnionIP4(a FlowIP4) (u FlowUnion)
- func FlowUnionIP4Gtpc(a FlowIP4Gtpc) (u FlowUnion)
- func FlowUnionIP4Gtpu(a FlowIP4Gtpu) (u FlowUnion)
- func FlowUnionIP4IpsecAh(a FlowIP4IpsecAh) (u FlowUnion)
- func FlowUnionIP4IpsecEsp(a FlowIP4IpsecEsp) (u FlowUnion)
- func FlowUnionIP4L2tpv3oip(a FlowIP4L2tpv3oip) (u FlowUnion)
- func FlowUnionIP4NTuple(a FlowIP4NTuple) (u FlowUnion)
- func FlowUnionIP4NTupleTagged(a FlowIP4NTupleTagged) (u FlowUnion)
- func FlowUnionIP4Vxlan(a FlowIP4Vxlan) (u FlowUnion)
- func FlowUnionIP6(a FlowIP6) (u FlowUnion)
- func FlowUnionIP6NTuple(a FlowIP6NTuple) (u FlowUnion)
- func FlowUnionIP6NTupleTagged(a FlowIP6NTupleTagged) (u FlowUnion)
- func FlowUnionIP6Vxlan(a FlowIP6Vxlan) (u FlowUnion)
- func (u *FlowUnion) GetEthernet() (a FlowEthernet)
- func (u *FlowUnion) GetIP4() (a FlowIP4)
- func (u *FlowUnion) GetIP4Gtpc() (a FlowIP4Gtpc)
- func (u *FlowUnion) GetIP4Gtpu() (a FlowIP4Gtpu)
- func (u *FlowUnion) GetIP4IpsecAh() (a FlowIP4IpsecAh)
- func (u *FlowUnion) GetIP4IpsecEsp() (a FlowIP4IpsecEsp)
- func (u *FlowUnion) GetIP4L2tpv3oip() (a FlowIP4L2tpv3oip)
- func (u *FlowUnion) GetIP4NTuple() (a FlowIP4NTuple)
- func (u *FlowUnion) GetIP4NTupleTagged() (a FlowIP4NTupleTagged)
- func (u *FlowUnion) GetIP4Vxlan() (a FlowIP4Vxlan)
- func (u *FlowUnion) GetIP6() (a FlowIP6)
- func (u *FlowUnion) GetIP6NTuple() (a FlowIP6NTuple)
- func (u *FlowUnion) GetIP6NTupleTagged() (a FlowIP6NTupleTagged)
- func (u *FlowUnion) GetIP6Vxlan() (a FlowIP6Vxlan)
- func (u *FlowUnion) SetEthernet(a FlowEthernet)
- func (u *FlowUnion) SetIP4(a FlowIP4)
- func (u *FlowUnion) SetIP4Gtpc(a FlowIP4Gtpc)
- func (u *FlowUnion) SetIP4Gtpu(a FlowIP4Gtpu)
- func (u *FlowUnion) SetIP4IpsecAh(a FlowIP4IpsecAh)
- func (u *FlowUnion) SetIP4IpsecEsp(a FlowIP4IpsecEsp)
- func (u *FlowUnion) SetIP4L2tpv3oip(a FlowIP4L2tpv3oip)
- func (u *FlowUnion) SetIP4NTuple(a FlowIP4NTuple)
- func (u *FlowUnion) SetIP4NTupleTagged(a FlowIP4NTupleTagged)
- func (u *FlowUnion) SetIP4Vxlan(a FlowIP4Vxlan)
- func (u *FlowUnion) SetIP6(a FlowIP6)
- func (u *FlowUnion) SetIP6NTuple(a FlowIP6NTuple)
- func (u *FlowUnion) SetIP6NTupleTagged(a FlowIP6NTupleTagged)
- func (u *FlowUnion) SetIP6Vxlan(a FlowIP6Vxlan)
- type IPPortAndMask
- type IPProtAndMask
Constants ¶
This section is empty.
Variables ¶
var ( FlowAction_name = map[uint32]string{ 1: "FLOW_ACTION_COUNT", 2: "FLOW_ACTION_MARK", 4: "FLOW_ACTION_BUFFER_ADVANCE", 8: "FLOW_ACTION_REDIRECT_TO_NODE", 16: "FLOW_ACTION_REDIRECT_TO_QUEUE", 64: "FLOW_ACTION_DROP", } FlowAction_value = map[string]uint32{ "FLOW_ACTION_COUNT": 1, "FLOW_ACTION_MARK": 2, "FLOW_ACTION_BUFFER_ADVANCE": 4, "FLOW_ACTION_REDIRECT_TO_NODE": 8, "FLOW_ACTION_REDIRECT_TO_QUEUE": 16, "FLOW_ACTION_DROP": 64, } )
var ( FlowType_name = map[uint32]string{ 1: "FLOW_TYPE_ETHERNET", 2: "FLOW_TYPE_IP4", 3: "FLOW_TYPE_IP6", 4: "FLOW_TYPE_IP4_L2TPV3OIP", 5: "FLOW_TYPE_IP4_IPSEC_ESP", 6: "FLOW_TYPE_IP4_IPSEC_AH", 7: "FLOW_TYPE_IP4_N_TUPLE", 8: "FLOW_TYPE_IP6_N_TUPLE", 9: "FLOW_TYPE_IP4_N_TUPLE_TAGGED", 10: "FLOW_TYPE_IP6_N_TUPLE_TAGGED", 11: "FLOW_TYPE_IP4_VXLAN", 12: "FLOW_TYPE_IP6_VXLAN", 13: "FLOW_TYPE_IP4_GTPC", 14: "FLOW_TYPE_IP4_GTPU", } FlowType_value = map[string]uint32{ "FLOW_TYPE_ETHERNET": 1, "FLOW_TYPE_IP4": 2, "FLOW_TYPE_IP6": 3, "FLOW_TYPE_IP4_L2TPV3OIP": 4, "FLOW_TYPE_IP4_IPSEC_ESP": 5, "FLOW_TYPE_IP4_IPSEC_AH": 6, "FLOW_TYPE_IP4_N_TUPLE": 7, "FLOW_TYPE_IP6_N_TUPLE": 8, "FLOW_TYPE_IP4_N_TUPLE_TAGGED": 9, "FLOW_TYPE_IP6_N_TUPLE_TAGGED": 10, "FLOW_TYPE_IP4_VXLAN": 11, "FLOW_TYPE_IP6_VXLAN": 12, "FLOW_TYPE_IP4_GTPC": 13, "FLOW_TYPE_IP4_GTPU": 14, } )
Functions ¶
This section is empty.
Types ¶
type FlowAction ¶
type FlowAction uint32
FlowAction defines enum 'flow_action'.
const ( FLOW_ACTION_COUNT FlowAction = 1 FLOW_ACTION_MARK FlowAction = 2 FLOW_ACTION_BUFFER_ADVANCE FlowAction = 4 FLOW_ACTION_REDIRECT_TO_NODE FlowAction = 8 FLOW_ACTION_REDIRECT_TO_QUEUE FlowAction = 16 FLOW_ACTION_DROP FlowAction = 64 )
func (FlowAction) String ¶
func (x FlowAction) String() string
type FlowEthernet ¶
type FlowEthernet struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ethernet_types.MacAddress `binapi:"mac_address,name=src_addr" json:"src_addr,omitempty"` DstAddr ethernet_types.MacAddress `binapi:"mac_address,name=dst_addr" json:"dst_addr,omitempty"` Type uint16 `binapi:"u16,name=type" json:"type,omitempty"` }
FlowEthernet defines type 'flow_ethernet'.
type FlowIP4 ¶
type FlowIP4 struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` }
FlowIP4 defines type 'flow_ip4'.
type FlowIP4Gtpc ¶
type FlowIP4Gtpc struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` Teid uint32 `binapi:"u32,name=teid" json:"teid,omitempty"` }
FlowIP4Gtpc defines type 'flow_ip4_gtpc'.
type FlowIP4Gtpu ¶
type FlowIP4Gtpu struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` Teid uint32 `binapi:"u32,name=teid" json:"teid,omitempty"` }
FlowIP4Gtpu defines type 'flow_ip4_gtpu'.
type FlowIP4IpsecAh ¶
type FlowIP4IpsecAh struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` Spi uint32 `binapi:"u32,name=spi" json:"spi,omitempty"` }
FlowIP4IpsecAh defines type 'flow_ip4_ipsec_ah'.
type FlowIP4IpsecEsp ¶
type FlowIP4IpsecEsp struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` Spi uint32 `binapi:"u32,name=spi" json:"spi,omitempty"` }
FlowIP4IpsecEsp defines type 'flow_ip4_ipsec_esp'.
type FlowIP4L2tpv3oip ¶
type FlowIP4L2tpv3oip struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SessionID uint32 `binapi:"u32,name=session_id" json:"session_id,omitempty"` }
FlowIP4L2tpv3oip defines type 'flow_ip4_l2tpv3oip'.
type FlowIP4NTuple ¶
type FlowIP4NTuple struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` }
FlowIP4NTuple defines type 'flow_ip4_n_tuple'.
type FlowIP4NTupleTagged ¶
type FlowIP4NTupleTagged struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` }
FlowIP4NTupleTagged defines type 'flow_ip4_n_tuple_tagged'.
type FlowIP4Vxlan ¶
type FlowIP4Vxlan struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP4AddressAndMask `binapi:"ip4_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` }
FlowIP4Vxlan defines type 'flow_ip4_vxlan'.
type FlowIP6 ¶
type FlowIP6 struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` }
FlowIP6 defines type 'flow_ip6'.
type FlowIP6NTuple ¶
type FlowIP6NTuple struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` }
FlowIP6NTuple defines type 'flow_ip6_n_tuple'.
type FlowIP6NTupleTagged ¶
type FlowIP6NTupleTagged struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` }
FlowIP6NTupleTagged defines type 'flow_ip6_n_tuple_tagged'.
type FlowIP6Vxlan ¶
type FlowIP6Vxlan struct { Foo int32 `binapi:"i32,name=foo" json:"foo,omitempty"` SrcAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=src_addr" json:"src_addr,omitempty"` DstAddr ip_types.IP6AddressAndMask `binapi:"ip6_address_and_mask,name=dst_addr" json:"dst_addr,omitempty"` Protocol IPProtAndMask `binapi:"ip_prot_and_mask,name=protocol" json:"protocol,omitempty"` SrcPort IPPortAndMask `binapi:"ip_port_and_mask,name=src_port" json:"src_port,omitempty"` DstPort IPPortAndMask `binapi:"ip_port_and_mask,name=dst_port" json:"dst_port,omitempty"` Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"` }
FlowIP6Vxlan defines type 'flow_ip6_vxlan'.
type FlowRule ¶
type FlowRule struct { Type FlowType `binapi:"flow_type,name=type" json:"type,omitempty"` Index uint32 `binapi:"u32,name=index" json:"index,omitempty"` Actions FlowAction `binapi:"flow_action,name=actions" json:"actions,omitempty"` MarkFlowID uint32 `binapi:"u32,name=mark_flow_id" json:"mark_flow_id,omitempty"` RedirectNodeIndex uint32 `binapi:"u32,name=redirect_node_index" json:"redirect_node_index,omitempty"` RedirectDeviceInputNextIndex uint32 `binapi:"u32,name=redirect_device_input_next_index" json:"redirect_device_input_next_index,omitempty"` RedirectQueue uint32 `binapi:"u32,name=redirect_queue" json:"redirect_queue,omitempty"` BufferAdvance int32 `binapi:"i32,name=buffer_advance" json:"buffer_advance,omitempty"` Flow FlowUnion `binapi:"flow,name=flow" json:"flow,omitempty"` }
FlowRule defines type 'flow_rule'.
type FlowType ¶
type FlowType uint32
FlowType defines enum 'flow_type'.
const ( FLOW_TYPE_ETHERNET FlowType = 1 FLOW_TYPE_IP4 FlowType = 2 FLOW_TYPE_IP6 FlowType = 3 FLOW_TYPE_IP4_L2TPV3OIP FlowType = 4 FLOW_TYPE_IP4_IPSEC_ESP FlowType = 5 FLOW_TYPE_IP4_IPSEC_AH FlowType = 6 FLOW_TYPE_IP4_N_TUPLE FlowType = 7 FLOW_TYPE_IP6_N_TUPLE FlowType = 8 FLOW_TYPE_IP4_N_TUPLE_TAGGED FlowType = 9 FLOW_TYPE_IP6_N_TUPLE_TAGGED FlowType = 10 FLOW_TYPE_IP4_VXLAN FlowType = 11 FLOW_TYPE_IP6_VXLAN FlowType = 12 FLOW_TYPE_IP4_GTPC FlowType = 13 FLOW_TYPE_IP4_GTPU FlowType = 14 )
type FlowUnion ¶
type FlowUnion struct { // FlowUnion can be one of: // - Ethernet *FlowEthernet // - IP4 *FlowIP4 // - IP6 *FlowIP6 // - IP4L2tpv3oip *FlowIP4L2tpv3oip // - IP4IpsecEsp *FlowIP4IpsecEsp // - IP4IpsecAh *FlowIP4IpsecAh // - IP4NTuple *FlowIP4NTuple // - IP6NTuple *FlowIP6NTuple // - IP4NTupleTagged *FlowIP4NTupleTagged // - IP6NTupleTagged *FlowIP6NTupleTagged // - IP4Vxlan *FlowIP4Vxlan // - IP6Vxlan *FlowIP6Vxlan // - IP4Gtpc *FlowIP4Gtpc // - IP4Gtpu *FlowIP4Gtpu XXX_UnionData [82]byte }
FlowUnion defines union 'flow'.
func FlowUnionEthernet ¶
func FlowUnionEthernet(a FlowEthernet) (u FlowUnion)
func FlowUnionIP4 ¶
func FlowUnionIP4Gtpc ¶
func FlowUnionIP4Gtpc(a FlowIP4Gtpc) (u FlowUnion)
func FlowUnionIP4Gtpu ¶
func FlowUnionIP4Gtpu(a FlowIP4Gtpu) (u FlowUnion)
func FlowUnionIP4IpsecAh ¶
func FlowUnionIP4IpsecAh(a FlowIP4IpsecAh) (u FlowUnion)
func FlowUnionIP4IpsecEsp ¶
func FlowUnionIP4IpsecEsp(a FlowIP4IpsecEsp) (u FlowUnion)
func FlowUnionIP4L2tpv3oip ¶
func FlowUnionIP4L2tpv3oip(a FlowIP4L2tpv3oip) (u FlowUnion)
func FlowUnionIP4NTuple ¶
func FlowUnionIP4NTuple(a FlowIP4NTuple) (u FlowUnion)
func FlowUnionIP4NTupleTagged ¶
func FlowUnionIP4NTupleTagged(a FlowIP4NTupleTagged) (u FlowUnion)
func FlowUnionIP4Vxlan ¶
func FlowUnionIP4Vxlan(a FlowIP4Vxlan) (u FlowUnion)
func FlowUnionIP6 ¶
func FlowUnionIP6NTuple ¶
func FlowUnionIP6NTuple(a FlowIP6NTuple) (u FlowUnion)
func FlowUnionIP6NTupleTagged ¶
func FlowUnionIP6NTupleTagged(a FlowIP6NTupleTagged) (u FlowUnion)
func FlowUnionIP6Vxlan ¶
func FlowUnionIP6Vxlan(a FlowIP6Vxlan) (u FlowUnion)
func (*FlowUnion) GetEthernet ¶
func (u *FlowUnion) GetEthernet() (a FlowEthernet)
func (*FlowUnion) GetIP4Gtpc ¶
func (u *FlowUnion) GetIP4Gtpc() (a FlowIP4Gtpc)
func (*FlowUnion) GetIP4Gtpu ¶
func (u *FlowUnion) GetIP4Gtpu() (a FlowIP4Gtpu)
func (*FlowUnion) GetIP4IpsecAh ¶
func (u *FlowUnion) GetIP4IpsecAh() (a FlowIP4IpsecAh)
func (*FlowUnion) GetIP4IpsecEsp ¶
func (u *FlowUnion) GetIP4IpsecEsp() (a FlowIP4IpsecEsp)
func (*FlowUnion) GetIP4L2tpv3oip ¶
func (u *FlowUnion) GetIP4L2tpv3oip() (a FlowIP4L2tpv3oip)
func (*FlowUnion) GetIP4NTuple ¶
func (u *FlowUnion) GetIP4NTuple() (a FlowIP4NTuple)
func (*FlowUnion) GetIP4NTupleTagged ¶
func (u *FlowUnion) GetIP4NTupleTagged() (a FlowIP4NTupleTagged)
func (*FlowUnion) GetIP4Vxlan ¶
func (u *FlowUnion) GetIP4Vxlan() (a FlowIP4Vxlan)
func (*FlowUnion) GetIP6NTuple ¶
func (u *FlowUnion) GetIP6NTuple() (a FlowIP6NTuple)
func (*FlowUnion) GetIP6NTupleTagged ¶
func (u *FlowUnion) GetIP6NTupleTagged() (a FlowIP6NTupleTagged)
func (*FlowUnion) GetIP6Vxlan ¶
func (u *FlowUnion) GetIP6Vxlan() (a FlowIP6Vxlan)
func (*FlowUnion) SetEthernet ¶
func (u *FlowUnion) SetEthernet(a FlowEthernet)
func (*FlowUnion) SetIP4Gtpc ¶
func (u *FlowUnion) SetIP4Gtpc(a FlowIP4Gtpc)
func (*FlowUnion) SetIP4Gtpu ¶
func (u *FlowUnion) SetIP4Gtpu(a FlowIP4Gtpu)
func (*FlowUnion) SetIP4IpsecAh ¶
func (u *FlowUnion) SetIP4IpsecAh(a FlowIP4IpsecAh)
func (*FlowUnion) SetIP4IpsecEsp ¶
func (u *FlowUnion) SetIP4IpsecEsp(a FlowIP4IpsecEsp)
func (*FlowUnion) SetIP4L2tpv3oip ¶
func (u *FlowUnion) SetIP4L2tpv3oip(a FlowIP4L2tpv3oip)
func (*FlowUnion) SetIP4NTuple ¶
func (u *FlowUnion) SetIP4NTuple(a FlowIP4NTuple)
func (*FlowUnion) SetIP4NTupleTagged ¶
func (u *FlowUnion) SetIP4NTupleTagged(a FlowIP4NTupleTagged)
func (*FlowUnion) SetIP4Vxlan ¶
func (u *FlowUnion) SetIP4Vxlan(a FlowIP4Vxlan)
func (*FlowUnion) SetIP6NTuple ¶
func (u *FlowUnion) SetIP6NTuple(a FlowIP6NTuple)
func (*FlowUnion) SetIP6NTupleTagged ¶
func (u *FlowUnion) SetIP6NTupleTagged(a FlowIP6NTupleTagged)
func (*FlowUnion) SetIP6Vxlan ¶
func (u *FlowUnion) SetIP6Vxlan(a FlowIP6Vxlan)
type IPPortAndMask ¶
type IPPortAndMask struct { Port uint16 `binapi:"u16,name=port" json:"port,omitempty"` Mask uint16 `binapi:"u16,name=mask" json:"mask,omitempty"` }
IPPortAndMask defines type 'ip_port_and_mask'.
type IPProtAndMask ¶
type IPProtAndMask struct { Prot ip_types.IPProto `binapi:"ip_proto,name=prot" json:"prot,omitempty"` Mask uint8 `binapi:"u8,name=mask" json:"mask,omitempty"` }
IPProtAndMask defines type 'ip_prot_and_mask'.