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
Function
newCandidateIDGenerator
()
rand.go:32
↓ 1 callers
Function
newCountingUniversalUDPMux
(addrs []net.Addr, xorAddr *stun.XORMappedAddress)
gather_test.go:4068
↓ 1 callers
Function
newHostRemote
(t *testing.T)
utils_test.go:14
↓ 1 callers
Function
newMuxForAddr
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 callers
Function
newPrflxRemote
(t *testing.T)
utils_test.go:29
↓ 1 callers
Function
newRelayListenCaptureNet
()
gather_test.go:863
↓ 1 callers
Function
newSrflxListenCaptureNet
()
gather_test.go:1087
↓ 1 callers
Function
newSrflxRemote
(t *testing.T)
utils_test.go:46
↓ 1 callers
Function
pipeWithTimeout
(t *testing.T, disconnectTimeout time.Duration, iceKeepalive time.Duration)
transport_test.go:303
↓ 1 callers
Function
printInterfaceSnapshot
()
examples/nat-rules/main.go:479
↓ 1 callers
Function
printRules
(rules []ice.AddressRewriteRule)
examples/nat-rules/main.go:410
↓ 1 callers
Function
readCandidateCharToken
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 callers
Method
readFromContext
(ctx context.Context, b []byte)
shared_packet_conn.go:19
↓ 1 callers
Method
readFromContext
(ctx context.Context, b []byte)
tcp_packet_conn.go:241
↓ 1 callers
Method
readFromContext
(ctx context.Context, b []byte)
udp_muxed_conn.go:57
↓ 1 callers
Method
recvLoop
(initializedCh <-chan struct{})
candidate_base.go:257
↓ 1 callers
Function
relayNetworkTypesForConfiguredCandidates
(networkTypes []NetworkType)
gather.go:67
↓ 1 callers
Method
removeConn
(conn net.Conn)
tcp_packet_conn.go:294
↓ 1 callers
Method
removeConnByUfragAndLocalHost
(ufrag string, localIPAddr ipAddr)
tcp_mux.go:384
↓ 1 callers
Function
removeRedundantPrflxFromSet
(set []Candidate, cand Candidate)
agent.go:1193
↓ 1 callers
Function
replacePairRemote
(pair *CandidatePair, remote Candidate)
agent.go:1147
↓ 1 callers
Method
replaceRedundantPeerReflexiveCandidates
replaceRedundantPeerReflexiveCandidates removes any peer-reflexive candidates from the given set that have the same transport address as cand. It also
agent.go:1239
↓ 1 callers
Method
replaceRemoteCandidateCacheValues
(oldRemote, newRemote Candidate)
candidate.go:100
↓ 1 callers
Method
replaceRemoteInLocalCaches
(oldRemote, newRemote Candidate)
agent.go:1225
↓ 1 callers
Method
replaceRemoteInPairs
(oldRemote, newRemote Candidate)
agent.go:1208
↓ 1 callers
Function
requireFirstMappingIP
(t *testing.T, mapping *ipMapping, localIP net.IP)
agent_options_test.go:860
↓ 1 callers
Method
requiresTCPMux
()
examples/nat-rules/main.go:49
↓ 1 callers
Method
resolveAndAddMulticastCandidate
(cand *CandidateHost)
agent.go:1001
↓ 1 callers
Method
retargetKnownPairHolders
(oldPair, newPair *CandidatePair)
agent.go:1178
↓ 1 callers
Function
ruleMappingForLookup
( rule *addressRewriteRuleMapping, locIP net.IP, isLocIPv4 bool, iface string, )
external_ip_mapper.go:380
↓ 1 callers
Method
runLoop
runLoop handles registered tasks and agent close.
internal/taskloop/taskloop.go:48
↓ 1 callers
Function
sanitizeAddressRewriteRule
(rule AddressRewriteRule)
agent_options.go:117
↓ 1 callers
Function
sanitizeExternalIPs
(ips []string)
agent_options.go:153
↓ 1 callers
Method
seen
(outbound bool)
candidate_base.go:536
↓ 1 callers
Method
setCandidateExtensions
(cand Candidate)
agent.go:1366
↓ 1 callers
Method
setLastSent
(time.Time)
agent.go:1129
↓ 1 callers
Method
setPriorityOverride
(prio uint64)
candidatepair.go:89
↓ 1 callers
Method
setWriteDeadline
setWriteDeadline is used by upper layers to push write deadlines down to the underlying packet connection.
candidate_base.go:94
↓ 1 callers
Function
setupMDNSConfig
setupMDNSConfig validates and returns mDNS configuration.
agent.go:439
↓ 1 callers
Function
setupTestAgentGetBestValidCandidatePair
(t *testing.T)
agent_get_best_valid_candidate_pair_test.go:33
↓ 1 callers
Method
shouldAcceptRemoteCandidate
(cand Candidate)
agent.go:1304
↓ 1 callers
Method
shouldSwitchSelectedPair
shouldSwitchSelectedPair determines if we should switch to a new nominated pair. Returns true if the switch should occur, false otherwise.
selection.go:315
↓ 1 callers
Method
start
()
tcp_mux.go:98
↓ 1 callers
Method
startNetworkMonitoring
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 callers
Method
startReading
(conn net.Conn)
tcp_packet_conn.go:188
↓ 1 callers
Function
stressDuplex
(t *testing.T)
transport_test.go:176
↓ 1 callers
Function
stunWithLen
(l uint16)
udp_mux_test.go:678
↓ 1 callers
Function
testMuxSrflxConnection
(t *testing.T, udpMux *UniversalUDPMuxDefault, ufrag string, network string)
udp_mux_universal_test.go:48
↓ 1 callers
Method
timeout
()
examples/nat-rules/main.go:41
↓ 1 callers
Method
transportAddressEqual
transportAddressEqual checks if the transport address (IP, Port, NetworkType, TCPType) is equal to another candidate.
candidate.go:87
↓ 1 callers
Method
transportAddressEqual
transportAddressEqual checks if the transport address (IP, Port, NetworkType, TCPType) is equal to another candidate.
candidate_base.go:468
↓ 1 callers
Function
tryReadRelativeAddrs
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 callers
Function
turnNetworkTypesForURL
(url stun.URI, networkTypes []NetworkType)
gather.go:80
↓ 1 callers
Function
validateLegacyNAT1To1Entry
(mapping string, hasIPv4CatchAll, hasIPv6CatchAll bool)
agent.go:242
↓ 1 callers
Function
validateLegacyNAT1To1IPs
(ips []string)
agent.go:227
↓ 1 callers
Method
validateNonSTUNTraffic
validateNonSTUNTraffic processes non STUN traffic from a remote candidate, and returns true if it is an actual remote candidate.
agent.go:1803
↓ 1 callers
Function
warnOnAddressRewriteConflicts
(agent *Agent)
agent_options.go:61
↓ 1 callers
Method
writeProcess
()
tcp_packet_conn.go:53
↓ 1 callers
Method
writeSTUN
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
Method
AddExtension
(ext CandidateExtension)
candidate_base.go:655
Method
AddTo
AddTo adds ICE-CONTROLLED to message.
icecontrol.go:45
Method
AddTo
AddTo adds ICE-CONTROLLING to message.
icecontrol.go:58
Method
AddTo
AddTo adds ICE-CONTROLLED or ICE-CONTROLLING attribute depending on Role.
icecontrol.go:74
Method
AddTo
AddTo adds DTLS-in-STUN attribute to message.
sped.go:16
Method
AddTo
AddTo adds DTLS-in-STUN-ACK attribute to message.
sped.go:45
Method
AddTo
AddTo adds USE-CANDIDATE attribute to message.
usecandidate.go:12
Method
Allocate
()
gather_test.go:1362
Function
AssertUsername
AssertUsername checks that the given STUN message m has a USERNAME attribute with a given value.
internal/stun/stun.go:63
Method
BytesReceived
BytesReceived returns total application bytes received on this pair.
candidatepair.go:218
Method
BytesSent
BytesSent returns total application bytes sent on this pair.
candidatepair.go:213
Method
Close
()
udp_mux_test.go:713
Method
Close
()
agent_test.go:3356
Method
Close
()
transport_test.go:39
Method
Close
()
shared_packet_conn.go:117
Method
Close
()
udp_mux_multi_test.go:199
Method
Close
()
tcp_packet_conn_test.go:32
Method
Close
()
agent_options_test.go:1631
Method
Close
()
agent_options_test.go:1643
Method
Close
()
active_tcp.go:126
Method
Close
()
renomination_test.go:45
Method
Close
()
tcp_packet_conn.go:75
Method
Close
()
udp_muxed_conn.go:153
Method
Close
()
transport_filtering_matrix_test.go:238
Method
Close
()
shared_packet_conn_test.go:48
Method
Close
()
gather_test.go:1225
Method
Close
()
gather_test.go:1235
Method
Close
()
gather_test.go:1259
Method
Close
()
gather_test.go:1371
Method
Close
()
gather_test.go:1721
Method
Close
()
gather_test.go:1742
Method
Close
()
gather_test.go:4452
Method
Close
()
gather_test.go:4491
Method
Close
()
gather_test.go:4518
Method
Close
()
tcp_mux_multi_test.go:217
Method
Close
Close stops the loop after finishing the execution of the current task. Other pending tasks will not be executed.
internal/taskloop/taskloop.go:67
Method
Close
nolint:revive
internal/fakenet/mock_conn.go:18
Method
CloseChannel
()
tcp_packet_conn.go:390
Method
ContactCandidates
()
agent_test.go:42
Method
ContactCandidates
()
selection.go:338
Method
ContactCandidates
A lite selector should not contact candidates.
selection.go:500
← previous
next →
601–700 of 1,382, ranked by callers