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

Method QueueSize

Kernel/include/net/networkadapter.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29 virtual int GetLink() { return linkState; }
30 virtual int QueueSize() { return queue.get_length(); }
31 virtual NetworkPacket Dequeue() {
32 if(queue.get_length()) {
33 return queue.remove_at(0);

Callers

nothing calls this directly

Calls 1

get_lengthMethod · 0.45

Tested by

no test coverage detected