• Alessandro Rubini's avatar
    vlan: add one VLAN in Kconfig as an option · a444be3e
    Alessandro Rubini authored
    WARNING: wr_switch_defconfig doesn't build, this is fixed in next commit
    
    Unfortunately this commit makes the internal communication between
    minic and lan asymmetric: on receive the tag is discarded (and the
    longer header falls into the payload) while on transmit it must be
    provided by lan.c.
    
    The reason is that on receive we can trim 4 bytes from the payload,
    but on send we can't add 4 bytes without a memmove.  The functions
    receive pointers to two different header structures, so hopefully
    user errors will be signalled by the compiler.
    
    Still, users interact with net.c, which hides vlan completely from
    them.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    a444be3e
Name
Last commit
Last update
..
hw Loading commit data...
libwr Loading commit data...
std Loading commit data...
board-wrc.h Loading commit data...
board-wrs.h Loading commit data...
board.h Loading commit data...
dump-info.h Loading commit data...
endpoint.h Loading commit data...
flash.h Loading commit data...
gpio-wrs.h Loading commit data...
hal_exports.h Loading commit data...
i2c.h Loading commit data...
irq.h Loading commit data...
minic.h Loading commit data...
onewire.h Loading commit data...
pps_gen.h Loading commit data...
ppsi-wrappers.h Loading commit data...
ptpd_netif.h Loading commit data...
revision.h Loading commit data...
rxts_calibrator.h Loading commit data...
sdb.h Loading commit data...
sfp.h Loading commit data...
shell.h Loading commit data...
spll_defs.h Loading commit data...
storage.h Loading commit data...
syscon.h Loading commit data...
system_checks.h Loading commit data...
trace.h Loading commit data...
types.h Loading commit data...
uart-sw.h Loading commit data...
uart.h Loading commit data...
util.h Loading commit data...
w1.h Loading commit data...
wrc-task.h Loading commit data...
wrc.h Loading commit data...