I have a doubt, pls clarify. Suppose I have a System connected like the below,
A -> B -> C -> D
I need to send a packet from A to D, so when a packet moves out of A, it should update the routing information somewhere in the packet or in the skbuff so that packet is routed correctly via B, so that it reaches the destination.
Pls let me know where it is updated in the packet means which header or which parameter in the skbuff..
Thnx in advance..
From your view, you only need the target address D and the first gateway (or router) B. You don’t make any modification in the packet, this is done in the router(s). C or any other routers on the way to D are transparent for you.