• Antonio Quartulli's avatar
    batman-adv: add UNICAST_4ADDR packet type · 7cdcf6dd
    Antonio Quartulli authored
    The current unicast packet type does not contain the orig source address. This
    patches add a new unicast packet (called UNICAST_4ADDR) which provides two new
    fields: the originator source address and the subtype (the type of the data
    contained in the packet payload). The former is useful to identify the node
    which injected the packet into the network and the latter is useful to avoid
    creating new unicast packet types in the future: a macro defining a new subtype
    will be enough.
    Signed-off-by: default avatarAntonio Quartulli <ordex@autistici.org>
    7cdcf6dd
main.c 11.5 KB