Hi, I am newbie to VPP Plugin development. I am able to create a sample plugin and check the packets passing through my node. I am trying to check the packet is ipv4 or ipv6
i am able to get the pointer to ethernet header from vlib buffer from the below API call in my while loop en0 = vlib_buffer_get_current (b0) Now my question is can someone point to an VPP API/ sample plugin * To traverse through the packet to identify below from the vlib_buffer_t i.e from b0 * the ip protocol of a packet i.e ipv4 or ipv6 * tcp packet or not. Any directions to my basic question much appreciated.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19555): https://lists.fd.io/g/vpp-dev/message/19555 Mute This Topic: https://lists.fd.io/mt/83453317/21656 Mute #vnet:https://lists.fd.io/g/vpp-dev/mutehashtag/vnet Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev Mute #classify:https://lists.fd.io/g/vpp-dev/mutehashtag/classify Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
