Hi Avi, Depending on your L3 protocol; ip4-rewirte, ip6-rewrite or mpls-output. Look for vnet_rewrite_one_header()/vnet_rewrite_two_headers()
Regards, neale -----Original Message----- From: <vpp-dev@lists.fd.io> on behalf of "Avi Cohen (A)" <avi.co...@huawei.com> Date: Sunday, 18 March 2018 at 13:10 To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [vpp-dev] VPP node that rewrite l2 header Hello all Can you refer to the code of the VPP node that rewrite L2 header ? i.e set dest-mac to NH mac address and src-mac to the out port mac ? Best Regards Avi -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8591): https://lists.fd.io/g/vpp-dev/message/8591 View All Messages In Topic (2): https://lists.fd.io/g/vpp-dev/topic/15536664 Mute This Topic: https://lists.fd.io/mt/15536664/21656 New Topic: https://lists.fd.io/g/vpp-dev/post Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656 Group Home: https://lists.fd.io/g/vpp-dev Contact Group Owner: vpp-dev+ow...@lists.fd.io Terms of Service: https://lists.fd.io/static/tos Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub -=-=-=-=-=-=-=-=-=-=-=-