MCPcopy 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
805void 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
818void CSockLink::Destroy()
819{

Callers 10

ResetMethod · 0.95
sppp_ioctlFunction · 0.80
sppp_cp_inputFunction · 0.80
sppp_lcp_downFunction · 0.80
sppp_lcp_RCN_rejFunction · 0.80
sppp_lcp_RCN_nakFunction · 0.80
sppp_lcp_tldFunction · 0.80
sppp_lcp_check_and_closeFunction · 0.80
sppp_chap_tldFunction · 0.80
sppp_pap_tldFunction · 0.80

Calls 2

KqueueDelObjMethod · 0.80
closeFunction · 0.70

Tested by

no test coverage detected