Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pion/ice
/ functions
Functions
1,382 in github.com/pion/ice
⨍
Functions
1,382
◇
Types & classes
160
↓ 1 callers
Method
GetLocalCandidatesStats
GetLocalCandidatesStats returns a list of local candidates stats.
agent_stats.go:115
↓ 1 callers
Method
GetRemoteCandidatesStats
GetRemoteCandidatesStats returns a list of remote candidates stats.
agent_stats.go:120
↓ 1 callers
Method
GetRemoteUserCredentials
GetRemoteUserCredentials returns the remote user credentials.
agent.go:1447
↓ 1 callers
Method
GracefulClose
GracefulClose cleans up the Agent and waits for any goroutines it started to complete. This is only safe to call outside of Agent callbacks or if in a
agent.go:1482
↓ 1 callers
Method
HandleSuccessResponse
(m *stun.Message, local, remote Candidate, remoteAddr net.Addr)
selection.go:371
↓ 1 callers
Function
IsAddrUnavailable
IsAddrUnavailable reports whether err indicates that the address is unavailable (as opposed to a specific port being busy).
internal/netutil/errno_unix.go:16
↓ 1 callers
Method
ListenPacket
(network, address string)
transport_filtering_matrix_test.go:50
↓ 1 callers
Method
LocalAddr
()
transport_test.go:43
↓ 1 callers
Method
LocalAddr
()
tcp_packet_conn.go:344
↓ 1 callers
Method
LocalPreference
LocalPreference returns the local preference for this candidate.
candidate_base.go:145
↓ 1 callers
Method
Marshal
Marshal returns the string representation of the ICECandidate.
candidate_base.go:573
↓ 1 callers
Method
MarshalText
MarshalText implements TextMarshaler.
role.go:34
↓ 1 callers
Method
Network
()
agent_test.go:27
↓ 1 callers
Method
PingCandidate
(local, remote Candidate)
selection.go:197
↓ 1 callers
Method
Priority
Priority computes the priority for this ICE Candidate See: https://www.rfc-editor.org/rfc/rfc8445#section-5.1.2.1
candidate_base.go:449
↓ 1 callers
Method
ReadFrom
ReadFrom reads a packet from the connection.
internal/fakenet/packet_conn.go:20
↓ 1 callers
Method
RemoteAddr
()
tcp_packet_conn_test.go:34
↓ 1 callers
Method
RemoveConnByUfrag
RemoveConnByUfrag stops and removes the muxed packet connection.
udp_mux.go:187
↓ 1 callers
Method
RequestsReceived
RequestsReceived returns the total number of connectivity checks received https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-requestsrec
candidatepair.go:180
↓ 1 callers
Method
ResolveUDPAddr
(network, address string)
transport_filtering_matrix_test.go:137
↓ 1 callers
Method
ResponsesSent
ResponsesSent returns the total number of connectivity responses sent https://www.w3.org/TR/webrtc-stats/#dom-rtcicecandidatepairstats-responsessent
candidatepair.go:198
↓ 1 callers
Method
SetAddr
(addr *stun.XORMappedAddress)
udp_mux_universal.go:278
↓ 1 callers
Method
SetDeadline
(t time.Time)
tcp_packet_conn_test.go:35
↓ 1 callers
Method
SetReadDeadline
(t time.Time)
shared_packet_conn.go:91
↓ 1 callers
Method
SetReadDeadline
(time.Time)
shared_packet_conn_test.go:40
↓ 1 callers
Method
SetWriteDeadline
(t time.Time)
shared_packet_conn.go:101
↓ 1 callers
Method
StartAccept
StartAccept sets the agent up for connecting to the remote agent, acting as the controlled agent and returns immediately.
transport.go:55
↓ 1 callers
Method
StartDial
StartDial sets the agent up for connecting to the remote agent, acting as the controlling agent and returns immediately.
transport.go:30
↓ 1 callers
Method
String
()
role.go:38
↓ 1 callers
Method
String
()
networktype.go:47
↓ 1 callers
Method
String
String returns string representation of the nomination attribute.
renomination.go:66
↓ 1 callers
Function
UDPMuxFromPortWithIPFilter
UDPMuxFromPortWithIPFilter set the filter to filter out IP addresses that should not be used.
udp_mux_multi.go:178
↓ 1 callers
Function
UDPMuxFromPortWithInterfaceFilter
UDPMuxFromPortWithInterfaceFilter set the filter to filter out interfaces that should not be used.
udp_mux_multi.go:169
↓ 1 callers
Function
UDPMuxFromPortWithLogger
UDPMuxFromPortWithLogger set the logger for the created UDPMux.
udp_mux_multi.go:214
↓ 1 callers
Method
Write
(b []byte)
candidatepair.go:142
↓ 1 callers
Method
Write
(b []byte)
tcp_packet_conn.go:44
↓ 1 callers
Method
WriteTo
([]byte, net.Addr)
shared_packet_conn_test.go:37
↓ 1 callers
Method
WriteTo
WriteTo writes a packet with payload p to addr.
internal/fakenet/packet_conn.go:28
↓ 1 callers
Method
addAddress
(addr ipPort)
udp_muxed_conn.go:191
↓ 1 callers
Function
addExternalMappings
( external []string, ruleMapping *addressRewriteRuleMapping, hasLocalAddr bool, localAddr net.IP, localIs
external_ip_mapper.go:90
↓ 1 callers
Method
addIPMapping
(locIP, extIP net.IP)
external_ip_mapper.go:160
↓ 1 callers
Method
addImplicitMapping
( extIP net.IP, isLocalIPv4 bool, hasLocalAddr bool, localAddr net.IP, )
external_ip_mapper.go:233
↓ 1 callers
Method
addRemotePassiveTCPCandidate
(remoteCandidate Candidate)
agent.go:1047
↓ 1 callers
Method
addSoleIP
(ip net.IP)
external_ip_mapper.go:84
↓ 1 callers
Function
addVNetSTUN
(wanNet *vnet.Net, loggerFactory logging.LoggerFactory)
connectivity_vnet_test.go:166
↓ 1 callers
Function
allNetworkTypesTCP
(networkTypes []NetworkType)
agent.go:597
↓ 1 callers
Function
appendAddressRewriteRules
(agent *Agent, rules ...AddressRewriteRule)
agent_options.go:96
↓ 1 callers
Function
appendHostMappedAddrs
( mappedAddrs []netip.Addr, mappedIPs []net.IP, addr netip.Addr, log logging.LeveledLogger, )
gather.go:216
↓ 1 callers
Function
assertAddressRewriteOption
( t *testing.T, rules []AddressRewriteRule, candidateType CandidateType, expectedFirstIP string, expected
agent_options_test.go:808
↓ 1 callers
Function
buildIfaceScopedScenario
()
examples/nat-rules/main.go:188
↓ 1 callers
Function
buildMultiNetworkScenario
()
examples/nat-rules/main.go:136
↓ 1 callers
Function
buildScenarios
(timeout time.Duration)
examples/nat-rules/main.go:119
↓ 1 callers
Function
buildScopedCatchAllScenario
()
examples/nat-rules/main.go:266
↓ 1 callers
Function
buildSrflxScenario
()
examples/nat-rules/main.go:225
↓ 1 callers
Function
canHandleInbound
(msg *stun.Message)
agent.go:1701
↓ 1 callers
Function
catchAllSpecificity
(rule *addressRewriteRuleMapping, iface string)
external_ip_mapper.go:401
↓ 1 callers
Method
checkForAutomaticRenomination
checkForAutomaticRenomination evaluates if automatic renomination should occur. This is called periodically when the agent is in connected state and a
selection.go:222
↓ 1 callers
Method
close
()
candidate_relay.go:93
↓ 1 callers
Method
connWorker
()
udp_mux.go:286
↓ 1 callers
Method
connectionStateForDisconnection
( disconnectedTime time.Duration, totalTimeToFailure time.Duration, )
agent.go:916
↓ 1 callers
Method
connectivityChecks
()
agent.go:669
↓ 1 callers
Method
context
()
candidate.go:92
↓ 1 callers
Function
copyCandidateActivity
(dst, src Candidate)
agent.go:1132
↓ 1 callers
Method
counts
()
transport_filtering_matrix_test.go:195
↓ 1 callers
Function
createAgentBase
(config *AgentConfig)
agent.go:323
↓ 1 callers
Function
createMulticastDNS
nolint:cyclop
mdns.go:42
↓ 1 callers
Method
createMuxedConn
(key string)
udp_mux.go:274
↓ 1 callers
Method
createRelayCandidate
(ctx context.Context, ep relayEndpoint, ip net.IP, onClose func() error)
gather.go:1321
↓ 1 callers
Function
deriveAddressRewriteFamilyScopeKey
(ipStr string)
agent_options.go:308
↓ 1 callers
Function
deriveAddressRewriteLocalScopeKey
(local string)
agent_options.go:290
↓ 1 callers
Function
describeRuleScope
(rule ice.AddressRewriteRule)
examples/nat-rules/main.go:434
↓ 1 callers
Function
enumerateAddressRewriteExternalEntries
(rule AddressRewriteRule)
agent_options.go:258
↓ 1 callers
Function
evaluateRewriteRules
( rules []*addressRewriteRuleMapping, locIP net.IP, isLocIPv4 bool, iface string, )
external_ip_mapper.go:415
↓ 1 callers
Function
findAddressRewriteRuleConflicts
(rules []AddressRewriteRule)
agent_options.go:200
↓ 1 callers
Function
findScenario
(scenarios []scenario, key string)
examples/nat-rules/main.go:109
↓ 1 callers
Function
fixtureTestOnSelectedCandidatePairChange
(t *testing.T)
agent_on_selected_candidate_pair_change_test.go:35
↓ 1 callers
Function
formatCandidate
(c ice.Candidate)
examples/nat-rules/main.go:395
↓ 1 callers
Function
formatNetworkList
(networks []ice.NetworkType)
examples/nat-rules/main.go:457
↓ 1 callers
Method
gatherCandidates
(ctx context.Context, done chan struct{})
gather.go:144
↓ 1 callers
Method
gatherServerReflexiveCandidates
(ctx context.Context, wg *sync.WaitGroup)
gather.go:287
↓ 1 callers
Function
getTCPAddrOnInterface
(address string)
active_tcp.go:191
↓ 1 callers
Method
handleConn
(conn net.Conn)
tcp_mux.go:203
↓ 1 callers
Method
handleInboundPacket
(buf []byte, srcAddr net.Addr)
candidate_base.go:322
↓ 1 callers
Method
handleInboundRequest
( remoteCandidate, local Candidate, remote net.Addr, msg *stun.Message, )
agent.go:1728
↓ 1 callers
Method
handleInboundResponse
( remoteCandidate, local Candidate, remote net.Addr, msg *stun.Message, )
agent.go:1708
↓ 1 callers
Method
handleRoleConflict
(msg *stun.Message, local, remote Candidate, remoteTieBreaker *AttrControl)
agent.go:1638
↓ 1 callers
Method
isClosed
()
tcp_packet_conn.go:227
↓ 1 callers
Function
isUDPNetworkName
(network string)
transport_filtering_matrix_test.go:245
↓ 1 callers
Method
isXORMappedResponse
isXORMappedResponse indicates whether the message is a XORMappedAddress and is coming from the known STUN server.
udp_mux_universal.go:139
↓ 1 callers
Function
isZeros
(ip net.IP)
net.go:37
↓ 1 callers
Function
legacyNAT1To1Rules
(ips []string, candidateType CandidateType)
agent.go:280
↓ 1 callers
Method
listenAddresses
()
gather_test.go:970
↓ 1 callers
Method
listenCallIPs
()
gather_test.go:1197
↓ 1 callers
Function
localTCPAddrFromMux
(tcpMux TCPMux)
agent.go:611
↓ 1 callers
Function
mDNSLocalAddressFromIP
(ip net.IP)
agent.go:625
↓ 1 callers
Function
mapKeys
(m map[string]struct{})
agent_options.go:321
↓ 1 callers
Function
maybeMarkEmptyMapping
( ruleMapping *addressRewriteRuleMapping, added bool, hasLocalAddr bool, localIsIPv4 bool, localAddr net.
external_ip_mapper.go:129
↓ 1 callers
Function
mustCandidateRelay
(t *testing.T, conf *CandidateRelayConfig)
candidate_test.go:303
↓ 1 callers
Function
mustCandidateServerReflexive
(t *testing.T, conf *CandidateServerReflexiveConfig)
candidate_test.go:327
↓ 1 callers
Function
newAgentWithConfig
newAgentWithConfig finalizes a pre-configured agent with optional overrides. nolint:gocognit,cyclop
agent.go:463
← previous
next →
501–600 of 1,382, ranked by callers