Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ Close
Method
Close
adapter/micro_thread/mt_net.cpp:805–816 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
803
}
804
805
void CSockLink::Close()
806
{
807
if (_fd < 0)
808
{
809
return;
810
}
811
812
MtFrame::Instance()->KqueueDelObj(this);
813
814
close(_fd);
815
_fd = -1;
816
}
817
818
void CSockLink::Destroy()
819
{
Callers
10
Reset
Method · 0.95
sppp_ioctl
Function · 0.80
sppp_cp_input
Function · 0.80
sppp_lcp_down
Function · 0.80
sppp_lcp_RCN_rej
Function · 0.80
sppp_lcp_RCN_nak
Function · 0.80
sppp_lcp_tld
Function · 0.80
sppp_lcp_check_and_close
Function · 0.80
sppp_chap_tld
Function · 0.80
sppp_pap_tld
Function · 0.80
Calls
2
KqueueDelObj
Method · 0.80
close
Function · 0.70
Tested by
no test coverage detected