AW: [mpls-linux-general] where is mpls head inserted in packet?
Status: Beta
Brought to you by:
jleu
|
From: Georg K. <gk...@gi...> - 2003-02-21 11:31:37
|
Hi roro, > hi,all > I'm reading mpls-linux source code ,but can you tell me where(in > which function) is mpls head inserted in packet head ? > Thanks in advance. Well, in function mpls_output2() all the output instructions are called in their configured order. There the packets are changed. (see the individual output instructions configured in mpls_out_ops[] which is initialized in mpls_opcode.c). The final changes of the skb pointer are done in mpls_finish ... Georg |