lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Support of two Ethernet connections


From: simeon.trifonov
Subject: Re: [lwip-users] Support of two Ethernet connections
Date: Thu, 8 Mar 2018 14:34:56 +0200

Hi Yacob,

 

I mean two MACs and two Phys. Actually one Phy is an Ethernet and the second is an Ethernet over VARAN (but for the stack it must look like a normal Ethernet Phy).

 

Simeon

 

From: lwip-users <address@hidden> On Behalf Of Yacob Hassidim
Sent: Thursday, March 08, 2018 2:30 PM
To: 'Mailing list for lwIP users' <address@hidden>
Subject: Re: [lwip-users] Support of two Ethernet connections

 

Hello Simeon,

 

I am not going to answer but ask a question about your system.

 

By Ethernet adaptor what do you mean?

  1. Two MAC and two Phys or
  2. One MAC and two Phys

 

Sincerely,

 

Yacob Hassidim.

 

From: lwip-users <address@hidden> On Behalf Of address@hidden
Sent: Thursday, March 8, 2018 2:01 PM
To: address@hidden
Subject: [lwip-users] Support of two Ethernet connections

 

Hi,

In my application I’m going to support two Ethernet adapters. I already have an implementation with only one, so I already have an experience with LWIP stack. Now I need to understand how the LWIP is designed to be used in case of two (or more) Ethernet adapters. It is clear that I need to use two separated netif structure for each adapter. What I’m wandering now is how to connect to it the initialized udp_pcb and tcp_pcb (they are different for both interfaces). How I can connect the pcbs to the netif-structures? If I cannot access the pcbs from netif-structure, then I need to add them like additional parameters to some functions… Sorry for this question, but I by reading in Internet I couldn’t find a good explanation how LWIP must be used in such case. So please, give me some hints…

 

Best regards!

 

Simeon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]