Dear all,

I implemented a new VPP node that receives UDP traffic using the following
function:

udp_register_dst_port (vm, PORT, my_node.index , 1 /* is_ip4 */);


I am able to parse the packet and I would like to be able to send back an
UDP packet.


Looking at the source code, the only function that seems fit my scope is
the following (in ~/vpp/src/vnet/udp/udp.h)
ip_udp_encap_one (vlib_main_t * vm, vlib_buffer_t * b0, u8 * ec0, word
ec_len,

          u8 is_ip4)


Is that correct or there is another function for this purpose?


Thanks in advance for any help.

Best regards,

Alessio
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • [vpp-dev] VPP... Alessio Silvestro
    • Re: [vpp... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
      • Re: ... Alessio Silvestro
        • ... Klement Sekera -X (ksekera - PANTHEON TECHNOLOGIES at Cisco)
          • ... Dharmaray Kundargi
            • ... Neale Ranns (nranns)
              • ... Alessio Silvestro
                • ... Neale Ranns (nranns)
                • ... Alessio Silvestro
                • ... Alessio Silvestro
                • ... Neale Ranns (nranns)

Reply via email to