Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNSPod/dnspod-sr
/ functions
Functions
229 in github.com/DNSPod/dnspod-sr
⨍
Functions
229
◇
Types & classes
218
↓ 1 callers
Function
delete_val_from_he
src/storage.c:449
↓ 1 callers
Function
drop_privilege
src/utils.c:145
↓ 1 callers
Function
dup_data_into_db
when a record is queried and its not in memory we load it from disk, and not add it to memory when it's ttl is expired, it will be deleted in disk and
src/author.c:861
↓ 1 callers
Function
fill_header_in_msg
src/dns.c:876
↓ 1 callers
Function
fill_rrset_in_buffer
a,ns,txt,cname,soa,srv,aaaa,mx
src/dns.c:923
↓ 1 callers
Function
fill_rrset_in_msg
jump from author.c
src/dns.c:769
↓ 1 callers
Function
find_addr
ht,type,domain,dlen
src/dns.c:1324
↓ 1 callers
Function
find_io_from_he
src/storage.c:153
↓ 1 callers
Function
find_list_io_from_he
src/storage.c:350
↓ 1 callers
Function
find_node
find_node and delete_node are not safe delete node may return NULL.
next/storage.c:88
↓ 1 callers
Function
flush_all_to_disk
src/utils.c:81
↓ 1 callers
Function
free_rbtree
src/datas.c:350
↓ 1 callers
Function
get_dns_info
src/dns.c:382
↓ 1 callers
Function
get_type_from_str
src/update.c:125
↓ 1 callers
Function
get_val_from_he
src/storage.c:259
↓ 1 callers
Function
global_cron
global cron delete and close useless tcp fd
src/author.c:1170
↓ 1 callers
Function
handle_back_event
src/author.c:789
↓ 1 callers
Function
handle_event
src/event.c:101
↓ 1 callers
Function
help
src/init.c:327
↓ 1 callers
Function
hijack
src/control.c:20
↓ 1 callers
Function
htable_create
////////////////////memory hash/////////////////////////////
next/storage.c:368
↓ 1 callers
Function
htable_delete_list
src/storage.c:608
↓ 1 callers
Function
htable_find
next/storage.c:402
↓ 1 callers
Function
htable_find_io
src/storage.c:210
↓ 1 callers
Function
htable_insert
if conllision, replace old element by default. if replace is 1, replace it, return 1 if replace is 0, drop it, return -1 else return 0
next/storage.c:499
↓ 1 callers
Function
init_globe
src/init.c:335
↓ 1 callers
Function
init_mempool
src/init.c:364
↓ 1 callers
Function
init_msgcache
/////////////////////memory chunk/////////////////////////// push to tail pop from head
src/storage.c:39
↓ 1 callers
Function
insert_fixup
src/datas.c:75
↓ 1 callers
Function
insert_fixup
next/storage.c:45
↓ 1 callers
Function
insert_node
next/storage.c:109
↓ 1 callers
Function
is_glue
if ns is domain's child or child's child or... domain and ns are td format type.domain 002,005,b,a,i,d,u,003,c,o,m 003,n,s,'4',005,b,a,i,d,u,003,c,o,m
src/dns.c:1063
↓ 1 callers
Function
launch_new_query
src/author.c:655
↓ 1 callers
Function
lock_and_add_to_quizz
qi and cli are all in stack if we want to add them in list alloc memory with ad_t_qzzer
src/author.c:1101
↓ 1 callers
Function
make_A_record_from_segment
format of segment struct mvalue off.off.off.off...[mvalue->seg] msg off point ttl now we jump ttl and rdlength then we get raw A record data copy data
src/dns.c:1214
↓ 1 callers
Function
make_bin_from_str
src/net.c:264
↓ 1 callers
Function
mbuf_ring_create
create the ring */
src/memory.c:36
↓ 1 callers
Function
mempool_create
src/memory.c:57
↓ 1 callers
Function
min_node
next/storage.c:217
↓ 1 callers
Function
nocase_char_hash_function
src/utils.c:625
↓ 1 callers
Function
passer_dns_data
make import info into struct baseinfo
src/dns.c:99
↓ 1 callers
Function
passer_related_data
process a segment of data
src/author.c:247
↓ 1 callers
Function
pre_find
First ensure the search name, if it has a cname, search the cname If we find it in fwd table, return the ip length, it's > 0 Here we dont care the cna
src/dns.c:1092
↓ 1 callers
Function
print_basic_debug
src/init.c:312
↓ 1 callers
Function
query_from_auth_server
src/author.c:375
↓ 1 callers
Function
query_from_auth_tcp
connect to server, tcp is expensive, we use 1 addr once do connect thing send thing will be done in cb_read_callback xxxx
src/author.c:345
↓ 1 callers
Function
rbt_successor
src/datas.c:178
↓ 1 callers
Function
rbt_successor
next/storage.c:140
↓ 1 callers
Function
read_config
src/io.c:335
↓ 1 callers
Function
read_logpath
src/io.c:283
↓ 1 callers
Function
read_resolve
src/io.c:247
↓ 1 callers
Function
read_root
src/io.c:196
↓ 1 callers
Function
read_transfer
src/io.c:301
↓ 1 callers
Function
record_delete
next/storage.c:639
↓ 1 callers
Function
record_insert
next/storage.c:595
↓ 1 callers
Function
refresh_records
src/io.c:203
↓ 1 callers
Function
refresh_ttl_with_td
src/control.c:10
↓ 1 callers
Function
retrive_ip
we found some ns try to find their ip
src/dns.c:1242
↓ 1 callers
Function
reverse_compare
return the match length in the end of two strings. NOT include the end "."
src/dns.c:696
↓ 1 callers
Function
run_sentinel
src/event.c:259
↓ 1 callers
Function
sanity_test
src/init.c:302
↓ 1 callers
Function
send_msg_tcp
src/author.c:309
↓ 1 callers
Function
server_init
src/init.c:223
↓ 1 callers
Function
server_listen
src/init.c:372
↓ 1 callers
Function
set_recv_timeout
src/net.c:67
↓ 1 callers
Function
set_signal_catcher
tool/client.c:48
↓ 1 callers
Function
start_local_server
src/update.c:214
↓ 1 callers
Function
str_to_uchar6
src/utils.c:349
↓ 1 callers
Function
talk_with_client
src/update.c:185
↓ 1 callers
Function
trig_signals
spider and author and main thread may have different handlers
src/utils.c:124
↓ 1 callers
Function
ttl_expired
this should be defined in upper files
src/storage.c:76
↓ 1 callers
Function
write_loginfo_into_file
domain, query domain type, query type addr, client addr
src/io.c:415
Function
add_to_quizzer
add to quizzer
src/author.c:1021
Function
cb_get_tcp_msg
src/event.c:124
Function
cb_get_udp_msg
src/event.c:192
Function
check_client_addr
reserved ip 10.0.0.0:8 172.16.0.0:12 192.168.0.0:16 0.0.0.0 255.255.255.255 127.0.0.0:8 224.0.0.0:18
src/net.c:41
Function
check_dms
if we query abc.com the auth server returned bbc.com NS ns1.sina.com we should reject this
src/dns.c:281
Function
check_domain_mask
src/dns.c:375
Function
check_memcpy
src/dns.c:514
Function
check_out_msg
src/dns.c:1029
Function
check_qo
same as find from mem for debug
src/dns.c:1477
Function
check_td
src/dns.c:1040
Function
clr_bit
src/utils.c:452
Function
compare_ttl
next/storage.c:576
Function
dbg_print_bit
-------------------debug print begin-------------------------
src/utils.c:556
Function
dbg_print_ip
src/dns.c:1533
Function
dbg_print_td
src/dns.c:1562
Function
dict_comp_uint_equ
for dict -------------------compare func begin---------------------//
src/utils.c:158
Function
domain_compare
next/storage.c:552
Function
empty_function
src/utils.c:521
Function
fake_recv
src/event.c:172
Function
fill_domain_to_len_label
src/io.c:390
Function
free_msgcache
src/storage.c:57
Function
get_list_val_from_he
src/storage.c:403
Function
get_mvalue_len
src/storage.c:67
Function
get_random_int_from_author
src/author.c:66
Function
get_str
get a c string little function,will be replaced by mm sonn. -----------------------begin-----------------//
src/utils.c:62
Function
get_time_usage
multi threads safe test by rbtree_test() in datas.c
src/utils.c:476
Function
htable_delete_list_io
src/storage.c:563
Function
insert_mem_bar
src/utils.c:530
← previous
next →
101–200 of 229, ranked by callers