Hi,
I am running a netmapcat in listen mode inside a VM, and tried to connect
from host machine but tcp connection is not getting established. i have
enabled NETMAP_DEBUG_USER and trace are below, where we can SYN packets are
handed to the rump kernel. but no event passed to netmapcat application.
I have tried sending ICMP (hping3) from host to netmap (pkt-gen) running
inside the VM and it works fine. So, I am thinking there is something
wrong happening with rumpkerne in the VM
mode.
I have also tired on host machine netmapcat (same binary ) is able to
accept from another machine.
Can you please have a look and see if you could point me to something which
could be wrong.
==========================================
@ubuntu: sudo ./netmapcat eth1 192.168.100.101 listen 8090
sending pkt via netmap len 1
receive pkt via netmap
netmap0 configured!
waiting for connection ...sending pkt via netmap len 3
sending pkt via netmap len 3
sending pkt via netmap len 1
receive pkt via netmap
got pkt of size 52
receive pkt via netmap
*got pkt of size 74 <-- SYN*
receive pkt via netmap
*got pkt of size 74 <-- SYN retransmission*
receive pkt via netmap
got pkt of size 52
receive pkt via netmap
receive pkt via netmap
sending pkt via netmap len 3
*got pkt of size 74 **<-- SYN retransmission*
*r*eceive pkt via netmap
got pkt of size 52
receive pkt via netmap
sending pkt via netmap len 3
receive pkt via netmap
@ubuntu:~/netmap-rumptcpip/examples$ ifconfig eth1
eth1 Link encap:Ethernet HWaddr 52:54:00:f5:5b:e4
inet addr:192.168.100.101 Bcast:192.168.100.255
Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fef5:5be4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12723537 errors:0 dropped:3019 overruns:0 frame:0
TX packets:10501532 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:913754243 (913.7 MB) TX bytes:612950649 (612.9 MB)
@ubuntu:~/netmap-rumptcpip/examples$
==========================================
Regards,
Govardhan
On Wed, Apr 23, 2014 at 4:54 PM, govardhan sn <[email protected]> wrote:
> Hi,
>
> i stated using netmap rumpkernel, while compiling this i am coming across
> the following compilation error, this is happening as i may not be using
> the correct header file.
>
> rumpcomp_user.c: In function 'receiver':
> rumpcomp_user.c:149:14: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:172:3: error: implicit declaration of function
> 'NETMAP_RING_NEXT' [-Werror=implicit-function-declaration]
> rumpcomp_user.c:173:7: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c: In function 'rumpcomp_netmap_send':
> rumpcomp_user.c:230:25: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:243:10: error: 'struct netmap_ring' has no member named
> 'avail'
> rumpcomp_user.c:260:7: error: 'struct netmap_ring' has no member named
> 'avail'
> cc1: all warnings being treated as error
>
> Could you please let me know how to resolve this compilation issue.
>
> i have downloaded the netmap from https://github.com/fichtner/netmap is
> this the correct one ?
>
> Regards,
> Govardhan
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users