Hi, I implemented a hierarchical Ethernet LAN. I am sending packets from a node attached to LAN1 to a node attached toLAN3. Each link has its own characteristics. In Mac802.3 file, in sendUp function, I need to know which link is the last link that my packet was transmitted on? Actually, I need to know where my packet is (location of packet in the network) at the time that mac functions are running on the packet? I think something like getting current node id or link id will help.
Is there any idea? I will appreciate it so much, if anyone can help me with this issue. Best Regards, Fariba