Re: [vpp-dev] UDP packet sending using sendto()

2019-09-25 Thread Florin Coras
Hi Nataraj, 

It’s not possible with VCL at this point but it’s possible with builtin 
applications. It’s just a matter of extending the connect api to support this. 

Florin

> On Sep 25, 2019, at 6:16 PM, Nataraj Batchu  wrote:
> 
> Hi,
> 
> Today with VPP we cannot give endpoint info in sendto() call. We have to do a 
> connect(udp_sock, endpoint_info) first and then invoke sendto(). This works. 
> But the question is how can I influence the source port of these packets?
> 
> Thanks,
> -Nataraj -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#14057): https://lists.fd.io/g/vpp-dev/message/14057
> Mute This Topic: https://lists.fd.io/mt/34294099/675152
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14058): https://lists.fd.io/g/vpp-dev/message/14058
Mute This Topic: https://lists.fd.io/mt/34294099/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] UDP packet sending using sendto()

2019-09-25 Thread Nataraj Batchu
Hi,

Today with VPP we cannot give endpoint info in sendto() call. We have to do a 
connect(udp_sock, endpoint_info) first and then invoke sendto(). This works. 
But the question is how can I influence the source port of these packets?

Thanks,
-Nataraj
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14057): https://lists.fd.io/g/vpp-dev/message/14057
Mute This Topic: https://lists.fd.io/mt/34294099/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-