Re: [vpp-dev] strange phenomenon of interface

2017-01-03 Thread Neale Ranns (nranns)
;, vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] strange phenomenon of interface We did refer to the "api_ip_add_del_route" and test_client.c, but it seems that the route result still is not wright. test_client.c, add_del_ip4_route (test_main_t * tm, int enable_

Re: [vpp-dev] strange phenomenon of interface

2017-01-03 Thread yug...@telincn.com
cn.com From: Dave Barach (dbarach) Date: 2016-12-31 21:04 To: yug...@telincn.com; vpp-dev Subject: RE: [vpp-dev] strange phenomenon of interface Take a look at vpp_api_test, specifically .../vat/api_format.c:api_ip_add_del_route()... Thanks… Dave From: vpp-dev-boun...@lists.fd.io [mailto:vp

Re: [vpp-dev] strange phenomenon of interface

2016-12-31 Thread Dave Barach (dbarach)
ct: Re: [vpp-dev] strange phenomenon of interface Hi all, Thanks for your time. I would like to use func "ip4_add_del_route_t_handler" to add route, how to fill next msg struct, i just want the same effect with the cmd "vppctl ip route add 10.10.10.0/24 via 80.80.80.1". It's

Re: [vpp-dev] strange phenomenon of interface

2016-12-31 Thread yug...@telincn.com
Hi all, Thanks for your time. I would like to use func "ip4_add_del_route_t_handler" to add route, how to fill next msg struct, i just want the same effect with the cmd "vppctl ip route add 10.10.10.0/24 via 80.80.80.1". It's there any substitude func? typedef VL_API_PACKED(struct

[vpp-dev] strange phenomenon of interface

2016-12-27 Thread yug...@telincn.com
Hi all, Thanks for your time. In func "vnet_register_interface", i would like to find interface by name with func " hash_get_mem (vnm->interface_main.hw_interface_by_name, ifname)", but only success when the "ifname" is equal to the currently registering interface. For example, if the