Hi Guy,

Do you edit;
  <ROOT>/src/vnet/udo/udp.h

or one of its clones in the install-vpp-XXX/build-vpp-XXX directories?

You should be editing the file in the src directory.

Regards,
neale

From: <vpp-dev-boun...@lists.fd.io> on behalf of "Guy Doucet -X (gudoucet - 
FLEXTRONICS CANADA DESIGN SERVICES INC at Cisco)" <gudou...@cisco.com>
Date: Monday, 29 May 2017 at 18:08
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] adding new udp port for udp_register_dst_port interface

Hi,

I am trying use  the udp_register_dst_port interface with  a new entry for 
UDP_DST_PORT_stream in udp.h. -> foreach_udp4_dst_port as follows:
#define foreach_udp4_dst_port                   \
_ (67, dhcp_to_server)                          \
…
_ (5001, stream)
…

When I build, the binary seems to contain the new element UDP_DST_PORT_stream 
but after I uninstall and reinstall the new rpm, the make for the plugin fails 
because UDP_DST_PORT_stream is undeclared.

How do I fix this so the build can see the new UDP_DST_PORT_stream.

Thanks,

Guy

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

Reply via email to