Hi,

I have FD.IO setup to receive a multicast stream. I would like to create a c++ 
app to process the udp messages but I am having trouble figuring out what api 
to use and how to set this up.

The messages I am trying to processes are as follows:

00:14:50:997590: dpdk-input
  GigabitEthernet6/0/3 rx queue 0
  buffer 0xddcbf8: current data 14, length 1428, free-list 0, clone-count 0, 
totlen-nifb 0, trace 0x9
  PKT MBUF: port 2, nb_segs 1, pkt_len 1442
    buf_len 2176, data_len 1442, ol_flags 0x180, data_off 128, phys_addr 
0x932bd00
    packet_type 0x211
    Packet Offload Flags
      PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid
      PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid
    Packet Types
      RTE_PTYPE_L2_ETHER (0x0001) Ethernet packet
      RTE_PTYPE_L3_IPV4 (0x0010) IPv4 packet without extension headers
      RTE_PTYPE_L4_UDP (0x0200) UDP packet
  IP4: 00:02:c5:1b:51:07 -> 01:00:5e:00:00:01
  UDP: 10.10.10.33 -> 232.0.0.1
    tos 0x00, ttl 64, length 1428, checksum 0x392d
    fragment id 0x0000, flags DONT_FRAGMENT
  UDP: 1000 -> 5001
    length 1408, checksum 0x0000
00:14:50:997591: ip4-input-no-checksum
  UDP: 10.10.10.33 -> 232.0.0.1
    tos 0x00, ttl 64, length 1428, checksum 0x392d
    fragment id 0x0000, flags DONT_FRAGMENT
  UDP: 1000 -> 5001
    length 1408, checksum 0x0000
00:14:50:997592: ip4-mfib-forward-lookup
  fib 0 entry 6
00:14:50:997592: ip4-mfib-forward-rpf
  entry 6 3 Accept,

Which API should I use to accomplish this?

Thanks,

Guy


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to