On Monday, October 01, 2012 15:57:35 Antonio Quartulli wrote:
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: Antonio Quartulli ordex@autistici.org
main.c | 2 + packet.h | 37 +++++++++++---- routing.c | 8 +++- soft-interface.c | 2 +- unicast.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++------ unicast.h | 32 ++++++++++++- 6 files changed, 189 insertions(+), 26 deletions(-)
Applied in revision 78fc6bb.
Thanks, Marek