MCPcopy Create free account

hub / github.com/DNSPod/dnspod-sr / functions

Functions229 in github.com/DNSPod/dnspod-sr

↓ 40 callersFunctiondns_error
global error function
src/utils.c:585
↓ 11 callersFunctionmbuf_free
src/memory.c:138
↓ 9 callersFunctionfill_name_in_msg
imxg3.douban.com imxg3.douban.com.cdn20.com.
src/dns.c:720
↓ 8 callersFunctioncheck_dns_name
src/dns.c:450
↓ 6 callersFunctionappend_value_to_he
A, NS, CNAME, SOA, MX, TXT, AAAA, SRV, PTR
src/storage.c:654
↓ 6 callersFunctionfill_all_records_in_msg
src/dns.c:608
↓ 6 callersFunctionfix_tail
src/utils.c:402
↓ 5 callersFunctiondelete_node
free node, return val
src/datas.c:280
↓ 5 callersFunctionfind_record_with_ttl
src/storage.c:868
↓ 5 callersFunctionget_pre_mem_hash
////////////////////memory hash/////////////////////////////
src/storage.c:108
↓ 5 callersFunctionleft_rotate
--------------------red black tree---------
src/datas.c:37
↓ 5 callersFunctionleft_rotate
--------------------red black tree---------
next/storage.c:7
↓ 5 callersFunctionmbuf_alloc
src/memory.c:103
↓ 5 callersFunctionright_rotate
src/datas.c:56
↓ 5 callersFunctionright_rotate
next/storage.c:26
↓ 5 callersFunctionstr_to_len_label
/////////////////////////////////////////////////////////////// 'a','.','b','.','c','.',0 1 ,'a','1','b', 1, 'c',0
src/dns.c:42
↓ 5 callersFunctionudp_write_info
src/net.c:147
↓ 4 callersFunctionget_domain_from_msg
transfrom domain from lenlabel format to string
src/dns.c:170
↓ 4 callersFunctioninsert_kv_mem
k and v both are in stack k td v mvalue.data
src/dns.c:528
↓ 4 callersFunctionwrite_log
fetcher 1.TIME# 0.name.type.clientip# add speed/flow info to the shared mem, in order to looked up by other process
src/io.c:513
↓ 3 callersFunctioncheck_support_type
we do not support type DS, KEY etc.
src/dns.c:85
↓ 3 callersFunctioncreate_listen_ports
src/init.c:74
↓ 3 callersFunctioncreate_new_log
0001111111.log 1221111111.log first bit 0 or 1 means fetcher or quizzer second and third bits means idx last bits means time
src/io.c:475
↓ 3 callersFunctionctl_fd
src/update.c:52
↓ 3 callersFunctionfind_node
find_node and delete_node are not safe delete node may return NULL.
src/datas.c:118
↓ 3 callersFunctionget_level
src/dns.c:592
↓ 3 callersFunctionget_rbt_size
src/datas.c:343
↓ 3 callersFunctionhtable_create
src/storage.c:119
↓ 3 callersFunctionhtable_delete
src/storage.c:499
↓ 3 callersFunctionhtable_find
read dirty
src/storage.c:303
↓ 3 callersFunctionhtable_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
src/storage.c:737
↓ 3 callersFunctioninsert_events
src/event.c:240
↓ 3 callersFunctioninsert_into_ttltree
malloced here tn will be free by author before add_to_quizzer and lowerdomain will be free by release_qoutinfo
src/dns.c:220
↓ 3 callersFunctionmin_node
src/datas.c:255
↓ 3 callersFunctionprocess_rdata
when we insert "ttl expired" in the rbtree if A or CNAME or MX or TXT or ... 's ttl is small, then we don't need to insert NS's "ttl expired" element,
src/dns.c:295
↓ 3 callersFunctionrandom_ttl
src/dns.c:250
↓ 3 callersFunctionsend_tc_to_client
we'd better send the right domain and id
src/dns.c:140
↓ 3 callersFunctionset_non_block
src/net.c:253
↓ 3 callersFunctionto_lowercase
src/utils.c:302
↓ 2 callersFunctionafter_pass_data
src/author.c:730
↓ 2 callersFunctioncache_flush
src/control.c:38
↓ 2 callersFunctioncb_read_auth
read from auth server
src/author.c:629
↓ 2 callersFunctioncreate_rbtree
src/datas.c:323
↓ 2 callersFunctiondbg_print_label
src/dns.c:1491
↓ 2 callersFunctiondelete_list_val_from_he
src/storage.c:545
↓ 2 callersFunctiondelete_node
free node, return val
next/storage.c:236
↓ 2 callersFunctiondict_comp_str_equ
src/utils.c:173
↓ 2 callersFunctiondisconnect_client
src/update.c:118
↓ 2 callersFunctionfill_extra_addr
src/dns.c:1290
↓ 2 callersFunctionfind_record_from_mem
format in databuffer type.mvalue.data.type.mvalue.data..
src/author.c:1129
↓ 2 callersFunctionget_random_data
get random things
src/utils.c:41
↓ 2 callersFunctionhtable_delete
next/storage.c:445
↓ 2 callersFunctionhtable_find_list
src/storage.c:417
↓ 2 callersFunctionhtable_find_list_io
src/storage.c:372
↓ 2 callersFunctionhtable_insert_list
src/storage.c:802
↓ 2 callersFunctioninit_qoutinfo
src/author.c:452
↓ 2 callersFunctioninsert_node
src/datas.c:143
↓ 2 callersFunctionjump_space
src/io.c:40
↓ 2 callersFunctionmake_addr_from_bin
src/net.c:283
↓ 2 callersFunctionmake_dns_msg_for_new
src/dns.c:899
↓ 2 callersFunctionopr_bit
offset [0,15] tested by rbtree_test() in datas.c. -------------------bit functions begin--------
src/utils.c:427
↓ 2 callersFunctionpasser_auth_data
return 0,continue return idx > 0,delete and release qoutinfo return < 0,error,nothing 0 is a valid idx,but it has a special meaning. so we return idx
src/author.c:527
↓ 2 callersFunctionread_records_from_file
ftp://ftp.internic.net/domain/root.zone support type A, NS, CNAME, SOA, MX, TXT, AAAA, SRV
src/io.c:70
↓ 2 callersFunctionrelease_qoutinfo
clear the querying bit, free struct clear the querying bit, free struct
src/author.c:422
↓ 2 callersFunctionrte_atomic32_cmpset
src/memory.c:85
↓ 2 callersFunctionset_sock_buff
src/net.c:240
↓ 2 callersFunctionstr_to_uchar4
src/utils.c:326
↓ 2 callersFunctiontcp_read_dns_msg
src/net.c:177
↓ 2 callersFunctiontcp_write_info
src/net.c:128
↓ 2 callersFunctionudp_read_msg
src/net.c:217
↓ 2 callersFunctionwrite_back_to_client
databuffer format type.mvalue.data.type.mvalue.data...
src/author.c:164
↓ 1 callersFunctionaccept_client
src/update.c:70
↓ 1 callersFunctionadd_backdoor
add fd to backdoor only 1 udp fd at first
src/net.c:50
↓ 1 callersFunctionadd_event
src/event.c:64
↓ 1 callersFunctionadd_query_info
src/author.c:41
↓ 1 callersFunctioncheck_an_msg
-1 error 1 tc 0 normal 2 retry
src/dns.c:983
↓ 1 callersFunctioncheck_enter
-1 error -2 tc 0 continue 1 normal
src/author.c:481
↓ 1 callersFunctioncheck_mm_cache
src/author.c:889
↓ 1 callersFunctioncheck_refresh_flag
src/author.c:977
↓ 1 callersFunctioncheck_ttl_expire
src/author.c:907
↓ 1 callersFunctioncmd_analyze
src/update.c:154
↓ 1 callersFunctionconnect_to
src/net.c:110
↓ 1 callersFunctioncreate_author
src/init.c:88
↓ 1 callersFunctioncreate_event
src/event.c:42
↓ 1 callersFunctioncreate_fetcher
src/init.c:169
↓ 1 callersFunctioncreate_local_client
tool/client.c:13
↓ 1 callersFunctioncreate_local_server
src/update.c:21
↓ 1 callersFunctioncreate_rbtree
next/storage.c:275
↓ 1 callersFunctioncreate_socket
src/net.c:81
↓ 1 callersFunctioncreate_transfer_point
src/io.c:211
↓ 1 callersFunctiondaemonize
src/init.c:61
↓ 1 callersFunctiondbg
output debug infomartion
src/utils.c:596
↓ 1 callersFunctiondbg_print_addr
---------------------debug-------------------------------
src/net.c:314
↓ 1 callersFunctiondbg_print_domain
src/dns.c:1502
↓ 1 callersFunctiondeep_copy
use by memory hash and disk db copy data from storage to buffer after this, operate data will not need to lock database any more
src/storage.c:93
↓ 1 callersFunctiondeep_copy
next/storage.c:293
↓ 1 callersFunctiondel_event
src/event.c:89
↓ 1 callersFunctiondelete_close_event
for tcp add to list, sentinel will delete this in the main event loop
src/author.c:86
↓ 1 callersFunctiondelete_fixup
src/datas.c:197
↓ 1 callersFunctiondelete_fixup
next/storage.c:159
next →1–100 of 229, ranked by callers