MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / InitializeConnections

Function InitializeConnections

Kernel/src/net/net.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 void InitializeConnections(){
18 if(!mainAdapter) {
19 Log::Info("No network adapter found!");
20 return;
21 }
22
23 Interface::Initialize();
24 }
25
26 unsigned short AllocatePort(Socket& sock){
27 unsigned short port = EPHEMERAL_PORT_RANGE_START;

Callers

nothing calls this directly

Calls 2

InfoFunction · 0.85
InitializeFunction · 0.70

Tested by

no test coverage detected