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:
Alessandro Rubini <rubini@gnudd.com>
Showing
- include/board-wrc.h 1 addition, 1 deletioninclude/board-wrc.h
- include/ptpd_netif.h 4 additions, 4 deletionsinclude/ptpd_netif.h
- lib/arp.c 7 additions, 3 deletionslib/arp.c
- lib/ipv4.c 7 additions, 3 deletionslib/ipv4.c
- lib/net.c 11 additions, 10 deletionslib/net.c
- ppsi 1 addition, 1 deletionppsi
Please register or sign in to comment