Re: Problem with fragmented packets on tun/tap interface

2015-08-13 Thread Prashant Upadhyaya
On Fri, Jul 31, 2015 at 4:51 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Fri, 2015-07-31 at 16:42 +0530, Prashant Upadhyaya wrote: On Fri, Jul 31, 2015 at 1:26 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Fri, 2015-07-31 at 12:30 +0530, Prashant Upadhyaya wrote: The delays work

Re: Problem with fragmented packets on tun/tap interface

2015-08-19 Thread Prashant Upadhyaya
On Thu, Aug 13, 2015 at 7:48 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-08-13 at 12:52 +0530, Prashant Upadhyaya wrote: Hi, I think I have a clue to the root cause of my issue, but I do not know a solution. Let me describe what I think is the problem. Fragmented packets

Problem with fragmented packets on tun/tap interface

2015-07-31 Thread Prashant Upadhyaya
Hi, I am having a linux user space application which gets data from an interface (eg. eth0) using a packet socket. The application has a fast path and a slow path. In the fast path the packets are processed by the application and sent out via the packet socket. Certain packets need processing by

Re: Load Balancing for AF_INET Raw Sockets

2015-12-16 Thread Prashant Upadhyaya
On Tue, Dec 15, 2015 at 8:09 PM, Eric Dumazet <eric.duma...@gmail.com> wrote: > On Tue, 2015-12-15 at 18:26 +0530, Prashant Upadhyaya wrote: >> Hi, >> >> I open a raw socket for listening to all the UDP packets in a raw fashion -- >> >> socket(AF_INET, S

Re: Load Balancing for AF_INET Raw Sockets

2015-12-17 Thread Prashant Upadhyaya
On Tue, Dec 15, 2015 at 6:26 PM, Prashant Upadhyaya <praupadhy...@gmail.com> wrote: > Hi, > > I open a raw socket for listening to all the UDP packets in a raw fashion -- > > socket(AF_INET, SOCK_RAW, IPPROTO_UDP); > > Then I use recvfrom to read the packets over the

Load Balancing for AF_INET Raw Sockets

2015-12-15 Thread Prashant Upadhyaya
Hi, I open a raw socket for listening to all the UDP packets in a raw fashion -- socket(AF_INET, SOCK_RAW, IPPROTO_UDP); Then I use recvfrom to read the packets over the socket. The above works mighty fine. I want to find out if it is possible to 'load balance' the UDP flows by opening up