Re: [vpp-dev] VPP & UDP Traffic

2017-05-30 Thread otroan
Alessio,

I also did an experimental patch to drop chosen UDP packets to a UDS socket.
https://gerrit.fd.io/r/#/c/6721/

Currently being used for integration with DHCPKIT.

Cheers,
Ole

> On 30 May 2017, at 19:37, Florin Coras  wrote:
> 
> Hi Alessio,
> 
> Take a look at udp_register_dst_port () and at how it is used in other places 
> (e.g., lisp/vxlan).
> 
> Cheers,
> Florin
> 
>> On May 30, 2017, at 1:01 AM, Alessio Silvestro  
>> wrote:
>> 
>> Dear all,
>> 
>> I am currently working on VPP and I am interested in receiving UDP traffic 
>> at a specific port.
>> 
>> However, I have seen that the project regarding L4 protocols (e.g., TCP, 
>> UDP) namely TLDK (Transport Layer Development Kit), is still a project 
>> proposal.
>> 
>> Is there a simple way to listen to UDP traffic on the current VPP 
>> implementation -- considering that UDP does not need any special treatment 
>> (e.g., re-ordering, sequence number, etc.)?
>> 
>> Thanks 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 mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev



signature.asc
Description: Message signed with OpenPGP
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP & UDP Traffic

2017-05-30 Thread Florin Coras
Hi Alessio, 

Take a look at udp_register_dst_port () and at how it is used in other places 
(e.g., lisp/vxlan).

Cheers, 
Florin

> On May 30, 2017, at 1:01 AM, Alessio Silvestro  
> wrote:
> 
> Dear all,
> 
> I am currently working on VPP and I am interested in receiving UDP traffic at 
> a specific port.
> 
> However, I have seen that the project regarding L4 protocols (e.g., TCP, UDP) 
> namely TLDK (Transport Layer Development Kit), is still a project proposal.
> 
> Is there a simple way to listen to UDP traffic on the current VPP 
> implementation -- considering that UDP does not need any special treatment 
> (e.g., re-ordering, sequence number, etc.)?
> 
> Thanks 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 mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev