Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bittorrent/libutp
/ functions
Functions
190 in github.com/bittorrent/libutp
⨍
Functions
190
◇
Types & classes
42
↓ 59 callers
Function
debug
ucat.c:74
↓ 58 callers
Method
log
utp_internal.cpp:3446
↓ 25 callers
Method
get
utp_internal.cpp:191
↓ 12 callers
Method
GetCount
utp_templates.h:116
↓ 12 callers
Function
utp_call_get_milliseconds
utp_callbacks.cpp:143
↓ 9 callers
Method
Lookup
utp_hash.h:139
↓ 9 callers
Function
pdie
ucat.c:87
↓ 8 callers
Method
get_value
utp_internal.cpp:383
↓ 7 callers
Function
utp_call_get_microseconds
utp_callbacks.cpp:153
↓ 7 callers
Function
utp_set_callback
utp_api.cpp:113
↓ 7 callers
Function
wrapping_compare_less
compare if lhs is less than rhs, taking wrapping into account. if lhs is close to UINT_MAX and rhs is close to 0, lhs is assumed to have wrapped and c
utp_internal.cpp:227
↓ 6 callers
Function
min
utp_templates.h:48
↓ 6 callers
Method
put
utp_internal.cpp:192
↓ 5 callers
Function
max
utp_templates.h:49
↓ 5 callers
Function
utp_call_get_read_buffer_size
utp_callbacks.cpp:173
↓ 5 callers
Function
utp_call_on_overhead_statistics
utp_callbacks.cpp:84
↓ 5 callers
Function
utp_call_on_state_change
utp_callbacks.cpp:108
↓ 4 callers
Method
get_sockaddr_storage
utp_packedsockaddr.cpp:98
↓ 4 callers
Method
mtu_search_update
this should be called every time we change mtu_floor or mtu_ceiling
utp_internal.cpp:1289
↓ 4 callers
Method
schedule_ack
utp_internal.cpp:715
↓ 4 callers
Method
send_ack
utp_internal.cpp:771
↓ 4 callers
Function
utp_call_get_random
utp_callbacks.cpp:163
↓ 4 callers
Function
utp_call_on_error
utp_callbacks.cpp:61
↓ 4 callers
Function
utp_close
Close the UTP socket. It is not valid for the upper layer to refer to socket after it is closed. Data will keep to try being delivered after the close
utp_internal.cpp:3358
↓ 3 callers
Function
Read32
utp_hash.cpp:29
↓ 3 callers
Method
add_sample
utp_internal.cpp:291
↓ 3 callers
Method
clear
utp_internal.cpp:262
↓ 3 callers
Function
die
ucat.c:64
↓ 3 callers
Method
ensure_size
utp_internal.cpp:195
↓ 3 callers
Method
get_packet_size
returns the max number of bytes of payload the uTP connection is allowed to send
utp_internal.cpp:1757
↓ 3 callers
Method
get_udp_overhead
utp_internal.cpp:633
↓ 3 callers
Function
hexdump
ucat.c:95
↓ 3 callers
Method
is_full
utp_internal.cpp:931
↓ 3 callers
Function
removeSocketFromAckList
utp_internal.cpp:673
↓ 3 callers
Method
send_packet
utp_internal.cpp:867
↓ 3 callers
Function
usage
ucat.c:557
↓ 3 callers
Function
utp_context_set_option
utp_internal.cpp:2640
↓ 3 callers
Function
utp_hash_mkidx
utp_hash.cpp:107
↓ 3 callers
Function
write_data
ucat.c:124
↓ 3 callers
Method
write_outgoing_packet
@payload: number of bytes to send @flags: either ST_DATA, or ST_FIN @iovec: base address of iovec array @num_iovecs: number of iovecs in array
utp_internal.cpp:992
↓ 2 callers
Method
Append
utp_templates.h:130
↓ 2 callers
Method
Iterate
utp_hash.h:142
↓ 2 callers
Function
UTGetTickCount64
utp_utils.cpp:55
↓ 2 callers
Function
UTP_GetMicroseconds
utp_utils.cpp:197
↓ 2 callers
Function
UTP_Version
utp_internal.cpp:2479
↓ 2 callers
Method
get_header_size
utp_internal.cpp:621
↓ 2 callers
Method
get_rcv_window
Calculates the current receive window
utp_internal.cpp:590
↓ 2 callers
Function
parse_icmp_payload
Called by utp_process_icmp_fragmentation() and utp_process_icmp_error() below
utp_internal.cpp:3019
↓ 2 callers
Function
send_to_addr
utp_internal.cpp:707
↓ 2 callers
Method
shift
utp_internal.cpp:277
↓ 2 callers
Function
utp_call_on_read
utp_callbacks.cpp:72
↓ 2 callers
Function
utp_create_socket
utp_internal.cpp:2574
↓ 2 callers
Function
utp_initialize_socket
utp_internal.cpp:2523
↓ 2 callers
Function
utp_process_incoming
Process an incoming packet syn is true if this is the first packet received. It will cut off parsing as soon as the header is done
utp_internal.cpp:1767
↓ 2 callers
Function
zeromem
utp_templates.h:96
↓ 1 callers
Method
Add
utp_hash.h:140
↓ 1 callers
Method
Compact
utp_templates.h:142
↓ 1 callers
Method
Create
utp_hash.h:138
↓ 1 callers
Method
Delete
utp_hash.h:141
↓ 1 callers
Method
Free
utp_templates.h:146
↓ 1 callers
Method
GetAlloc
utp_templates.h:117
↓ 1 callers
Method
MoveUpLast
utp_templates.h:155
↓ 1 callers
Function
QuickSortT
utp_templates.h:100
↓ 1 callers
Method
SetCount
utp_templates.h:118
↓ 1 callers
Function
Time_Initialize
utp_utils.cpp:68
↓ 1 callers
Function
UTP_FreeAll
utp_internal.cpp:2515
↓ 1 callers
Function
UTP_GetMilliseconds
utp_utils.cpp:111
↓ 1 callers
Function
__GetMicroseconds
utp_utils.cpp:84
↓ 1 callers
Function
abs64
utp_utils.cpp:82
↓ 1 callers
Method
ack_packet
returns: 0: the packet was acked. 1: it means that the packet had already been acked 2: the packet has not been sent yet
utp_internal.cpp:1329
↓ 1 callers
Method
apply_ccontrol
utp_internal.cpp:1615
↓ 1 callers
Method
check_timeouts
utp_internal.cpp:1118
↓ 1 callers
Method
get_overhead
utp_internal.cpp:640
↓ 1 callers
Function
handle_icmp
ucat.c:368
↓ 1 callers
Function
host_to_network
utp_templates.h:69
↓ 1 callers
Method
log_unchecked
utp_internal.cpp:3458
↓ 1 callers
Method
mtu_reset
utp_internal.cpp:1314
↓ 1 callers
Function
network_loop
ucat.c:483
↓ 1 callers
Function
network_to_host
utp_templates.h:72
↓ 1 callers
Method
selective_ack
utp_internal.cpp:1441
↓ 1 callers
Method
selective_ack_bytes
count the number of bytes that were acked by the EACK header
utp_internal.cpp:1403
↓ 1 callers
Function
setup
ucat.c:285
↓ 1 callers
Method
size
utp_internal.cpp:196
↓ 1 callers
Function
utp_call_get_udp_mtu
utp_callbacks.cpp:119
↓ 1 callers
Function
utp_call_get_udp_overhead
utp_callbacks.cpp:131
↓ 1 callers
Function
utp_call_log
utp_callbacks.cpp:183
↓ 1 callers
Function
utp_call_on_accept
utp_callbacks.cpp:39
↓ 1 callers
Function
utp_call_on_connect
utp_callbacks.cpp:51
↓ 1 callers
Function
utp_call_on_delay_sample
utp_callbacks.cpp:97
↓ 1 callers
Function
utp_call_on_firewall
utp_callbacks.cpp:27
↓ 1 callers
Function
utp_call_sendto
utp_callbacks.cpp:194
↓ 1 callers
Function
utp_check_timeouts
Should be called every 500ms
utp_internal.cpp:3277
↓ 1 callers
Function
utp_connect
Try to connect to a specified host.
utp_internal.cpp:2732
↓ 1 callers
Function
utp_destroy
utp_api.cpp:108
↓ 1 callers
Function
utp_get_context_stats
utp_api.cpp:129
↓ 1 callers
Function
utp_get_stats
utp_internal.cpp:3479
↓ 1 callers
Function
utp_hash_add
Add a new element to the hash table. Returns a pointer to the new element. This assumes the element is not already present!
utp_hash.cpp:145
↓ 1 callers
Function
utp_hash_create
utp_hash.cpp:62
↓ 1 callers
Function
utp_hash_del
Delete an element from the utp_hash_t Returns a pointer to the already deleted element.
utp_hash.cpp:195
↓ 1 callers
Function
utp_hash_free_mem
utp_hash.cpp:243
next →
1–100 of 190, ranked by callers