MCPcopy Create free account

hub / github.com/digitalocean/go-openvswitch / functions

Functions571 in github.com/digitalocean/go-openvswitch

↓ 68 callersFunctionbprintf
bprintf is fmt.Sprintf, but it returns a byte slice instead of a string.
ovs/codegen.go:60
↓ 55 callersMethodMarshalText
MarshalText marshals a Flow into its textual form.
ovs/flow.go:139
↓ 49 callersFunctiontestClient
testClient creates a new Client with the specified OptionFuncs applied and using the specified ExecFunc.
ovs/client_test.go:164
↓ 39 callersFunctionTransportDestinationPort
TransportDestinationPort matches packets with a TCP destination port matching port.
ovs/match.go:894
↓ 37 callersFunctionDrop
Drop immediately discards the packet. It must be the only Action specified when used.
ovs/action.go:141
↓ 29 callersMethodError
Error returns the string representation of an Error.
ovs/ovs.go:75
↓ 29 callersFunctionResubmit
Resubmit resubmits a packet for further processing by matching flows with the specified port and table. If port or table are zero, they are set to em
ovs/action.go:528
↓ 28 callersFunctionTimeout
Timeout returns an OptionFunc which sets a timeout in seconds for all Open vSwitch interactions.
ovs/client.go:259
↓ 27 callersFunctionNetworkDestination
NetworkDestination matches packets with a destination IPv4 address or IPv4 CIDR block matching ip.
ovs/match.go:268
↓ 25 callersFunctionSetState
SetState sets the specified CTState flag. This helper should be used with ConnectionTrackingState.
ovs/match.go:1344
↓ 23 callersFunctionDataLinkSource
DataLinkSource matches packets with a source hardware address and optional wildcard mask matching addr.
ovs/match.go:96
↓ 22 callersFunctionOutput
Output outputs the packet to the specified switch port. Use InPortLocal to output the packet to the LOCAL port. port must either be a non-negative i
ovs/action.go:400
↓ 21 callersMethodString
String returns the string representation of a DatapathFeatures.
ovsnl/datapath.go:52
↓ 18 callersFunctionConnectionTracking
ConnectionTracking sends a packet through the host's connection tracker.
ovs/action.go:211
↓ 18 callersFunctionConnectionTrackingState
ConnectionTrackingState matches packets using their connection state, when connection tracking is enabled on the host. Use the SetState and UnsetStat
ovs/match.go:1295
↓ 18 callersFunctionDataLinkDestination
DataLinkDestination matches packets with a destination hardware address and optional wildcard mask matching addr.
ovs/match.go:105
↓ 18 callersFunctionIPv6Source
IPv6Source matches packets with a source IPv6 address or IPv6 CIDR block matching ip.
ovs/match.go:541
↓ 18 callersFunctionModVLANVID
ModVLANVID modifies the VLAN ID (VID) on a packet. It adds a VLAN tag if one is not already present. vid must be a valid VLAN VID, within the range
ovs/action.go:372
↓ 18 callersFunctionSetTCPFlag
SetTCPFlag sets the specified TCPFlag. This helper should be used with TCPFlags.
ovs/match.go:1447
↓ 17 callersFunctionNetworkSource
NetworkSource matches packets with a source IPv4 address or IPv4 CIDR block matching ip.
ovs/match.go:259
↓ 15 callersFunctionLoad
Load loads the specified value into the specified field. If either string is empty, an error is returned.
ovs/action.go:607
↓ 14 callersFunctionIPv6Destination
IPv6Destination matches packets with a destination IPv6 address or IPv6 CIDR block matching ip.
ovs/match.go:550
↓ 14 callersMethodexec
exec executes an ExecFunc using 'ovs-vsctl'.
ovs/vswitch.go:151
↓ 14 callersFunctionmustParseMAC
mustParseMAC is a helper to parse a hardware address from a string using net.ParseMAC, that panic on failure.
ovs/match_test.go:1615
↓ 13 callersFunctionARPTargetProtocolAddress
ARPTargetProtocolAddress matches packets with an ARP target protocol address (TPA) IPv4 address or IPv4 CIDR block matching addr.
ovs/match.go:851
↓ 13 callersFunctionTCPFlags
TCPFlags matches packets using their enabled TCP flags, when matching TCP flags on a TCP segment. Use the SetTCPFlag and UnsetTCPFlag functions to p
ovs/match.go:1399
↓ 12 callersFunctionparseIntMatch
parseIntMatch parses an integer Match value from the input key and value, with a maximum possible value of upper.
ovs/matchparser.go:134
↓ 12 callersFunctionstrPtr
(s string)
ovsdb/client_test.go:326
↓ 12 callersFunctiontestClient
(t *testing.T, fn jsonrpc.TestFunc, options ...ovsdb.OptionFunc)
ovsdb/client_test.go:285
↓ 11 callersMethodErr
Err returns an error, if one occurred in a Response.
ovsdb/internal/jsonrpc/conn.go:48
↓ 11 callersFunctionmustMarshalJSON
(t *testing.T, v interface{})
ovsdb/client_test.go:315
↓ 10 callersFunctionARPTargetHardwareAddress
ARPTargetHardwareAddress matches packets with an ARP target hardware address (THA) matching addr.
ovs/match.go:805
↓ 10 callersMethodAdd
Add pushes zero or more Flows on to the transaction, to be added by Open vSwitch. If any of the flows are invalid, Add becomes a no-op and the error
ovs/openflow.go:81
↓ 10 callersFunctionDataLinkType
DataLinkType matches packets with the specified EtherType.
ovs/match.go:166
↓ 10 callersFunctionICMP6Type
ICMP6Type matches packets with the specified ICMP type matching typ.
ovs/match.go:628
↓ 10 callersFunctionIPv6Label
IPv6Label matches packets based on their IPv6 label information, using the specified label and optional mask value.
ovs/match.go:1191
↓ 10 callersMethodListDatabases
ListDatabases returns the name of all databases known to the OVSDB server.
ovsdb/rpc.go:23
↓ 10 callersFunctionNeighborDiscoverySourceLinkLayer
NeighborDiscoverySourceLinkLayer matches packets with an IPv6 neighbor solicitation source link-layer address matching addr.
ovs/match.go:726
↓ 10 callersFunctionTransportDestinationMaskedPort
TransportDestinationMaskedPort matches packets with a TCP destination port matching a masked port range.
ovs/match.go:912
↓ 10 callersFunctionVLANTCI
VLANTCI matches packets based on their VLAN tag control information, using the specified TCI and optional mask value.
ovs/match.go:1133
↓ 10 callersFunctionVLANTCI1
VLANTCI1 matches packets based on their VLAN tag control information, using the specified TCI and optional mask value.
ovs/match.go:1162
↓ 9 callersFunctionDecTTL
DecTTL decrements the TTL of an IPv4 packet or hop limit of an IPv6 packet.
ovs/action.go:185
↓ 9 callersFunctionICMPType
ICMPType matches packets with the specified ICMP type matching typ.
ovs/match.go:580
↓ 9 callersFunctionNewDataPathService
NewDataPathService is a builder for the DataPathService. sudo is defined as a default option.
ovs/datapath.go:105
↓ 9 callersFunctionTransportSourceMaskedPort
TransportSourceMaskedPort matches packets with TCP source port matching a masked port range.
ovs/match.go:903
↓ 9 callersFunctionnewClient
newClient is the internal Client constructor, used in tests.
ovsnl/client.go:48
↓ 8 callersFunctionARPSourceProtocolAddress
ARPSourceProtocolAddress matches packets with an ARP source protocol address (SPA) IPv4 address or IPv4 CIDR block matching addr.
ovs/match.go:842
↓ 8 callersFunctionConjunction
Conjunction associates a flow with a certain conjunction ID to match on more than one dimension across multiple set matches.
ovs/action.go:495
↓ 8 callersFunctionConnectionTrackingMark
ConnectionTrackingMark matches a metadata associated with a connection tracking entry
ovs/match.go:1249
↓ 8 callersFunctionModNetworkSource
ModNetworkSource modifies the source IPv4 address of a packet.
ovs/action.go:292
↓ 8 callersFunctionNeighborDiscoveryTarget
NeighborDiscoveryTarget matches packets with an IPv6 neighbor discovery target IPv6 address or IPv6 CIDR block matching ip.
ovs/match.go:701
↓ 8 callersFunctionOutputField
OutputField outputs the packet to the switch port described by the specified field. For example, when the `field` value is "in_port", the packet is ou
ovs/action.go:428
↓ 8 callersFunctionTunnelID
TunnelID returns a Match that matches the given ID exactly.
ovs/match.go:1458
↓ 8 callersMethodUnmarshalText
UnmarshalText unmarshals flow text into a Flow.
ovs/flow.go:295
↓ 8 callersMethodexec
exec executes an ExecFunc using 'ovs-ofctl'.
ovs/openflow.go:501
↓ 7 callersFunctionArpOp
ArpOp matches packets based on their IPv6 label information, using the specified op.
ovs/match.go:1222
↓ 7 callersMethodClose
Close closes the Client's generic netlink connection.
ovsnl/client.go:68
↓ 7 callersFunctionDataLinkVLAN
DataLinkVLAN matches packets with the specified VLAN ID matching vid.
ovs/match.go:194
↓ 7 callersMethodExec
(args ...string)
ovs/datapath.go:92
↓ 7 callersFunctionICMP6Code
ICMP6Code matches packets with the specified ICMP type matching typ.
ovs/match.go:652
↓ 7 callersFunctionICMPCode
ICMPCode matches packets with the specified ICMP code.
ovs/match.go:604
↓ 7 callersFunctionLearn
Learn dynamically installs a LearnedFlow.
ovs/action.go:702
↓ 7 callersFunctionMove
Move sets the value of the destination field to the value of the source field.
ovs/action.go:674
↓ 7 callersFunctionNewDataPathActions
NewDataPathActions returns an implementation of DataPathActions
ovs/proto_trace.go:59
↓ 7 callersFunctionNormal
Normal subjects the packet to the device's normal L2/L3 processing.
ovs/action.go:171
↓ 7 callersFunctionSetField
SetField overwrites the specified field with the specified value. If either string is empty, an error is returned.
ovs/action.go:597
↓ 7 callersFunctionStripVLAN
StripVLAN strips the VLAN tag from a packet, if one is present.
ovs/action.go:178
↓ 7 callersFunctioncheckMatch
(re *regexp.Regexp, s string)
ovs/proto_trace.go:222
↓ 7 callersFunctionpanicf
(format string, a ...interface{})
ovsdb/client.go:431
↓ 6 callersMethodDumpPorts
DumpPorts retrieves statistics about all ports attached to the specified bridge.
ovs/openflow.go:235
↓ 6 callersFunctionModDataLinkDestination
ModDataLinkDestination modifies the data link destination of a packet.
ovs/action.go:238
↓ 6 callersFunctionModDataLinkSource
ModDataLinkSource modifies the data link source of a packet.
ovs/action.go:246
↓ 6 callersFunctionModNetworkDestination
ModNetworkDestination modifies the destination IPv4 address of a packet.
ovs/action.go:284
↓ 6 callersFunctionNetworkProtocol
NetworkProtocol matches packets with the specified IP or IPv6 protocol number matching num. For example, specifying 1 when a Flow's Protocol is IPv4
ovs/match.go:516
↓ 6 callersFunctionTunnelIDWithMask
TunnelIDWithMask returns a Match with specified ID and mask.
ovs/match.go:1466
↓ 6 callersFunctionUDPDestinationMaskedPort
UDPDestinationMaskedPort matches packets with a UDP destination port matching a masked port range.
ovs/match.go:948
↓ 6 callersFunctionUDPSourceMaskedPort
UDPSourceMaskedPort matches packets with UDP source port matching a masked port range.
ovs/match.go:939
↓ 6 callersFunctionUnsetTCPFlag
UnsetTCPFlag unsets the specified TCPFlag. This helper should be used with TCPFlags.
ovs/match.go:1453
↓ 6 callersMethoddebugf
debugf prints a logging debug message when debugging is enabled.
ovs/client.go:202
↓ 6 callersFunctionerrStr
errStr is a helper to return the string form of an error, even if the error is nil.
ovs/ovs_test.go:68
↓ 6 callersFunctionparseHexUint16
parseHexUint16 parses a uint16 value from a hexadecimal string.
ovs/matchparser.go:558
↓ 5 callersFunctionARPSourceHardwareAddress
ARPSourceHardwareAddress matches packets with an ARP source hardware address (SHA) matching addr.
ovs/match.go:796
↓ 5 callersMethodClose
Close closes a Client's connection and cleans up its resources.
ovsdb/client.go:165
↓ 5 callersMethodClose
Close closes the connection.
ovsdb/internal/jsonrpc/conn.go:86
↓ 5 callersFunctionDataLinkVLANPCP
DataLinkVLANPCP matches packets with the specified VLAN PCP matching pcp.
ovs/match.go:230
↓ 5 callersFunctionFieldMatch
FieldMatch returns an fieldMatch.
ovs/match.go:1658
↓ 5 callersFunctionIPFrag
IPFrag returns an ipFragMatch.
ovs/match.go:1635
↓ 5 callersMethodList
List lists all Datapaths in the kernel.
ovsnl/datapath.go:99
↓ 5 callersFunctionLocal
Local outputs the packet on the local port, which corresponds to the network device that has the same name as the bridge.
ovs/action.go:164
↓ 5 callersFunctionModTransportSourcePort
ModTransportSourcePort modifies the source port of a packet.
ovs/action.go:337
↓ 5 callersFunctionNeighborDiscoveryTargetLinkLayer
NeighborDiscoveryTargetLinkLayer matches packets with an IPv6 neighbor solicitation target link-layer address matching addr.
ovs/match.go:735
↓ 5 callersMethodReceive
Receive receives a single JSON-RPC response.
ovsdb/internal/jsonrpc/conn.go:114
↓ 5 callersMethodSend
Send sends a single JSON-RPC request.
ovsdb/internal/jsonrpc/conn.go:93
↓ 5 callersMethodStats
Stats returns a ClientStats with current statistics for the Client.
ovsdb/client.go:173
↓ 5 callersFunctionUnsetState
UnsetState unsets the specified CTState flag. This helper should be used with ConnectionTrackingState.
ovs/match.go:1350
↓ 5 callersFunctionflowsEqual
flowsEqual determines if two possible Flows are equal.
ovs/flow_test.go:1265
↓ 5 callersFunctionmarshalActions
marshalActions marshals all provided Actions to their text form.
ovs/flow.go:477
↓ 4 callersMethodAddFlowBundle
AddFlowBundle creates an Open vSwitch flow bundle and enables adding and removing flows to and from the specified bridge using a FlowTransaction. This
ovs/openflow.go:152
↓ 4 callersFunctionConjunctionID
ConjunctionID matches flows that have matched all dimension of a conjunction inside of the openflow table.
ovs/match.go:467
↓ 4 callersMethodEcho
Echo verifies that the OVSDB connection is alive, and can be used to keep the connection alive.
ovsdb/rpc.go:34
next →1–100 of 571, ranked by callers