Skip to content
Snippets Groups Projects
Commit 01ae0747 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

net: let the caller allocate queue size


I also change the prototype of the socket creation so the compile can
warn me where the locally-allocated socket must be changed.

The size saving is not huge, but this allows later creation of further
sockets with a smaller overhead (e.g.: the syslog socket that sends only
has no queue, and the snmp socket needs a very small buffer).

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent b0c2a74c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment