Routing DSR的路由请求标头(动态源路由)
我的问题是,路由请求(src、desn、reqid)在到达目标节点之前是相同的。在路由记录中,每个注释都必须在其中附加其地址(节点id)。那么路由记录中的字节将发生变化,对吗??Routing DSR的路由请求标头(动态源路由),routing,protocols,tinyos,Routing,Protocols,Tinyos,我的问题是,路由请求(src、desn、reqid)在到达目标节点之前是相同的。在路由记录中,每个注释都必须在其中附加其地址(节点id)。那么路由记录中的字节将发生变化,对吗?? 在这方面请帮助我 谢谢,Prem路由记录将在每个跃点扩展,在每个跃点追加字节。每个数据包都可以使用这个字节列表来了解它的前辈 typedef nx_struct RouteRequest{ nx_uint16_t src ; // the node ID of RREQ originator
在这方面请帮助我
谢谢,Prem路由记录将在每个跃点扩展,在每个跃点追加字节。每个数据包都可以使用这个字节列表来了解它的前辈
typedef nx_struct RouteRequest{
nx_uint16_t src ; // the node ID of RREQ originator
nx_uint16_t desn ; // the node ID of desired destination
nx_uint16_t reqid; // unique id to recognize duplicate request
nx_uint16_t route_record; // append node address in the route record
nx_uint8_t numhops; // hop count
} RouteRequest;