MCPcopy Create free account

hub / github.com/pion/ice / functions

Functions1,382 in github.com/pion/ice

↓ 1 callersFunctionnewCandidateIDGenerator
()
rand.go:32
↓ 1 callersFunctionnewCountingUniversalUDPMux
(addrs []net.Addr, xorAddr *stun.XORMappedAddress)
gather_test.go:4068
↓ 1 callersFunctionnewHostRemote
(t *testing.T)
utils_test.go:14
↓ 1 callersFunctionnewMuxForAddr
newMuxForAddr creates a UDPMuxDefault with the correct socket family for the given address. This fixes Windows dual-stack issues where IPv6 sockets do
agent_udpmux_test.go:20
↓ 1 callersFunctionnewPrflxRemote
(t *testing.T)
utils_test.go:29
↓ 1 callersFunctionnewRelayListenCaptureNet
()
gather_test.go:863
↓ 1 callersFunctionnewSrflxListenCaptureNet
()
gather_test.go:1087
↓ 1 callersFunctionnewSrflxRemote
(t *testing.T)
utils_test.go:46
↓ 1 callersFunctionpipeWithTimeout
(t *testing.T, disconnectTimeout time.Duration, iceKeepalive time.Duration)
transport_test.go:303
↓ 1 callersFunctionprintInterfaceSnapshot
()
examples/nat-rules/main.go:479
↓ 1 callersFunctionprintRules
(rules []ice.AddressRewriteRule)
examples/nat-rules/main.go:410
↓ 1 callersFunctionreadCandidateCharToken
Read an ice-char token from the raw string ice-char = ALPHA / DIGIT / "+" / "/" stop reading when a space is encountered or the end of the string.
candidate_base.go:945
↓ 1 callersMethodreadFromContext
(ctx context.Context, b []byte)
shared_packet_conn.go:19
↓ 1 callersMethodreadFromContext
(ctx context.Context, b []byte)
tcp_packet_conn.go:241
↓ 1 callersMethodreadFromContext
(ctx context.Context, b []byte)
udp_muxed_conn.go:57
↓ 1 callersMethodrecvLoop
(initializedCh <-chan struct{})
candidate_base.go:257
↓ 1 callersFunctionrelayNetworkTypesForConfiguredCandidates
(networkTypes []NetworkType)
gather.go:67
↓ 1 callersMethodremoveConn
(conn net.Conn)
tcp_packet_conn.go:294
↓ 1 callersMethodremoveConnByUfragAndLocalHost
(ufrag string, localIPAddr ipAddr)
tcp_mux.go:384
↓ 1 callersFunctionremoveRedundantPrflxFromSet
(set []Candidate, cand Candidate)
agent.go:1193
↓ 1 callersFunctionreplacePairRemote
(pair *CandidatePair, remote Candidate)
agent.go:1147
↓ 1 callersMethodreplaceRedundantPeerReflexiveCandidates
replaceRedundantPeerReflexiveCandidates removes any peer-reflexive candidates from the given set that have the same transport address as cand. It also
agent.go:1239
↓ 1 callersMethodreplaceRemoteCandidateCacheValues
(oldRemote, newRemote Candidate)
candidate.go:100
↓ 1 callersMethodreplaceRemoteInLocalCaches
(oldRemote, newRemote Candidate)
agent.go:1225
↓ 1 callersMethodreplaceRemoteInPairs
(oldRemote, newRemote Candidate)
agent.go:1208
↓ 1 callersFunctionrequireFirstMappingIP
(t *testing.T, mapping *ipMapping, localIP net.IP)
agent_options_test.go:860
↓ 1 callersMethodrequiresTCPMux
()
examples/nat-rules/main.go:49
↓ 1 callersMethodresolveAndAddMulticastCandidate
(cand *CandidateHost)
agent.go:1001
↓ 1 callersMethodretargetKnownPairHolders
(oldPair, newPair *CandidatePair)
agent.go:1178
↓ 1 callersFunctionruleMappingForLookup
( rule *addressRewriteRuleMapping, locIP net.IP, isLocIPv4 bool, iface string, )
external_ip_mapper.go:380
↓ 1 callersMethodrunLoop
runLoop handles registered tasks and agent close.
internal/taskloop/taskloop.go:48
↓ 1 callersFunctionsanitizeAddressRewriteRule
(rule AddressRewriteRule)
agent_options.go:117
↓ 1 callersFunctionsanitizeExternalIPs
(ips []string)
agent_options.go:153
↓ 1 callersMethodseen
(outbound bool)
candidate_base.go:536
↓ 1 callersMethodsetCandidateExtensions
(cand Candidate)
agent.go:1366
↓ 1 callersMethodsetLastSent
(time.Time)
agent.go:1129
↓ 1 callersMethodsetPriorityOverride
(prio uint64)
candidatepair.go:89
↓ 1 callersMethodsetWriteDeadline
setWriteDeadline is used by upper layers to push write deadlines down to the underlying packet connection.
candidate_base.go:94
↓ 1 callersFunctionsetupMDNSConfig
setupMDNSConfig validates and returns mDNS configuration.
agent.go:439
↓ 1 callersFunctionsetupTestAgentGetBestValidCandidatePair
(t *testing.T)
agent_get_best_valid_candidate_pair_test.go:33
↓ 1 callersMethodshouldAcceptRemoteCandidate
(cand Candidate)
agent.go:1304
↓ 1 callersMethodshouldSwitchSelectedPair
shouldSwitchSelectedPair determines if we should switch to a new nominated pair. Returns true if the switch should occur, false otherwise.
selection.go:315
↓ 1 callersMethodstart
()
tcp_mux.go:98
↓ 1 callersMethodstartNetworkMonitoring
startNetworkMonitoring starts a goroutine that periodically checks for network changes and re-gathers candidates when changes are detected. This is on
gather.go:1385
↓ 1 callersMethodstartReading
(conn net.Conn)
tcp_packet_conn.go:188
↓ 1 callersFunctionstressDuplex
(t *testing.T)
transport_test.go:176
↓ 1 callersFunctionstunWithLen
(l uint16)
udp_mux_test.go:678
↓ 1 callersFunctiontestMuxSrflxConnection
(t *testing.T, udpMux *UniversalUDPMuxDefault, ufrag string, network string)
udp_mux_universal_test.go:48
↓ 1 callersMethodtimeout
()
examples/nat-rules/main.go:41
↓ 1 callersMethodtransportAddressEqual
transportAddressEqual checks if the transport address (IP, Port, NetworkType, TCPType) is equal to another candidate.
candidate.go:87
↓ 1 callersMethodtransportAddressEqual
transportAddressEqual checks if the transport address (IP, Port, NetworkType, TCPType) is equal to another candidate.
candidate_base.go:468
↓ 1 callersFunctiontryReadRelativeAddrs
Read and validate raddr and rport from the raw string [SP rel-addr] [SP rel-port] defined in https://datatracker.ietf.org/doc/html/rfc5245#section-15.
candidate_base.go:1041
↓ 1 callersFunctionturnNetworkTypesForURL
(url stun.URI, networkTypes []NetworkType)
gather.go:80
↓ 1 callersFunctionvalidateLegacyNAT1To1Entry
(mapping string, hasIPv4CatchAll, hasIPv6CatchAll bool)
agent.go:242
↓ 1 callersFunctionvalidateLegacyNAT1To1IPs
(ips []string)
agent.go:227
↓ 1 callersMethodvalidateNonSTUNTraffic
validateNonSTUNTraffic processes non STUN traffic from a remote candidate, and returns true if it is an actual remote candidate.
agent.go:1803
↓ 1 callersFunctionwarnOnAddressRewriteConflicts
(agent *Agent)
agent_options.go:61
↓ 1 callersMethodwriteProcess
()
tcp_packet_conn.go:53
↓ 1 callersMethodwriteSTUN
writeSTUN sends a STUN request via UDP conn. The returned channel is closed when the STUN response has been received. Method is safe for concurrent u
udp_mux_universal.go:226
MethodAddExtension
(ext CandidateExtension)
candidate_base.go:655
MethodAddTo
AddTo adds ICE-CONTROLLED to message.
icecontrol.go:45
MethodAddTo
AddTo adds ICE-CONTROLLING to message.
icecontrol.go:58
MethodAddTo
AddTo adds ICE-CONTROLLED or ICE-CONTROLLING attribute depending on Role.
icecontrol.go:74
MethodAddTo
AddTo adds DTLS-in-STUN attribute to message.
sped.go:16
MethodAddTo
AddTo adds DTLS-in-STUN-ACK attribute to message.
sped.go:45
MethodAddTo
AddTo adds USE-CANDIDATE attribute to message.
usecandidate.go:12
MethodAllocate
()
gather_test.go:1362
FunctionAssertUsername
AssertUsername checks that the given STUN message m has a USERNAME attribute with a given value.
internal/stun/stun.go:63
MethodBytesReceived
BytesReceived returns total application bytes received on this pair.
candidatepair.go:218
MethodBytesSent
BytesSent returns total application bytes sent on this pair.
candidatepair.go:213
MethodClose
()
udp_mux_test.go:713
MethodClose
()
agent_test.go:3356
MethodClose
()
transport_test.go:39
MethodClose
()
shared_packet_conn.go:117
MethodClose
()
udp_mux_multi_test.go:199
MethodClose
()
tcp_packet_conn_test.go:32
MethodClose
()
agent_options_test.go:1631
MethodClose
()
agent_options_test.go:1643
MethodClose
()
active_tcp.go:126
MethodClose
()
renomination_test.go:45
MethodClose
()
tcp_packet_conn.go:75
MethodClose
()
udp_muxed_conn.go:153
MethodClose
()
transport_filtering_matrix_test.go:238
MethodClose
()
shared_packet_conn_test.go:48
MethodClose
()
gather_test.go:1225
MethodClose
()
gather_test.go:1235
MethodClose
()
gather_test.go:1259
MethodClose
()
gather_test.go:1371
MethodClose
()
gather_test.go:1721
MethodClose
()
gather_test.go:1742
MethodClose
()
gather_test.go:4452
MethodClose
()
gather_test.go:4491
MethodClose
()
gather_test.go:4518
MethodClose
()
tcp_mux_multi_test.go:217
MethodClose
Close stops the loop after finishing the execution of the current task. Other pending tasks will not be executed.
internal/taskloop/taskloop.go:67
MethodClose
nolint:revive
internal/fakenet/mock_conn.go:18
MethodCloseChannel
()
tcp_packet_conn.go:390
MethodContactCandidates
()
agent_test.go:42
MethodContactCandidates
()
selection.go:338
MethodContactCandidates
A lite selector should not contact candidates.
selection.go:500
← previousnext →601–700 of 1,382, ranked by callers