• Alessandro Rubini's avatar
    net: move to caller-based allocation · 677c4ca4
    Alessandro Rubini authored
    We removed the pool of sockets, to only keep a list of pointers.
    The caller provides the socket (and the buffer).
    
    This saves from 440 to 1570 bytes in the binary (more in the ones
    with no CONFIG_IP, beause sockets are not used.
    
    Now we can move to a caller-defined queue size, when I find the time and
    willingness.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    677c4ca4
arp.c 2.16 KB