[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] Remote tcp connection with TAPIF interface
From: |
jean-louis . gilbert |
Subject: |
RE: [lwip-users] Remote tcp connection with TAPIF interface |
Date: |
Tue, 30 Nov 2004 12:01:01 +0100 |
Hi Andreas,
Sorry for the delay, but i was working on other projects...
Here are the two required files tapif.c and config_envt.sh. This is the
linux (kernel 2.4.18) version. Bridge-utils tool is required.
In order to work correctly, you have to set some parameters in the
"low_level_init(struct netif* netif)" as explained in the file.
In the example:
- 192.168.0.2 is the ip addr of the remote machine.
- 192.168.0.5: is the ip addr of the tapif interface (netif
configuration) of the host.
- 192.168.0.3: is the ip addr of the host's bridge.
RMQ: For linux system, you have to be careful about the time taken by the
bridge for its initialisation -> e.g. you should insert a "sleep(x)" call
after the first lwip_socket(...) call, in your application.
I hope, it will be useful.
regards.
-----Message d'origine-----
De: Andreas Becker [mailto:address@hidden
Date: mercredi 20 octobre 2004 17:45
À: Mailing list for lwIP users
Objet: Re: [lwip-users] Remote tcp connection with TAPIF interface
Hi Gilbert,
I've merged my project from lwip 0.7.1 to 1.1.0-rc1
now I've the same problems like you had.
Can you post / send me your tapif.c and posible your bridge startup file?
Thank you.
--
Dipl.-Ing.(FH) Andreas Becker
Entwicklung
dSys e.K.
Soeflinger Str. 100
D-89077 Ulm
Tel: +49.731.151579-1
Fax: +49.731.151579-9
web: www.dsys.de
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
config_envt.sh
Description: Binary data
tapif.c
Description: Binary data
- RE: [lwip-users] Remote tcp connection with TAPIF interface,
jean-louis . gilbert <=