[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Addressing scheme in NS
Hello,
Can somone explain the new addressing scheme used in the latest version
of ns? for example in ip.h, the following have been defined,
ns_addr_t& src() { return (src_); }
nsaddr_t& saddr() { return (src_.addr_); }
int32_t& sport() { return src_.port_;}
does ns_addr_t& src() { return (src_); } define both the node and port
address for the src???
does nsaddr_t& saddr() { return (src_.addr_); } define only the node
address?
does int32_t& sport() { return src_.port_;} define the port address on the
node??
tks.
shuqian