On Sat, Nov 12, 2011 at 4:20 PM, Simon Goldschmidt <[email protected]> wrote:

> "M.GANESH KUMAR" <[email protected]> wrote:
>
> I have to receive protocol packets (STP,VLAN) in my device interface. For
> that I created a raw socket and bind it to that that interface. While
> receiving packets from the interface, that packets are processed by LWIP -
> IP stack and gets discarded. I think I missed some initializations.Could
> you please give me the list of ENV's that has to be initialized? How to
> by-pass this check and get the total packet including ETH header?.
>
>
> Raw sockets are meant to receive IP packets with custom transport layer
> protocols, not to receive the complete packets including Ethernet header.
> There's no default way to do this with lwIP, you'll have to intercept these
> packets at the netif driver level.
>
> Simon
>
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>

Hi Simon,

Is it possible to send STP,LACP and other protocol packets constructed by
my application through raw socket?LWIP does not support ETH_P_ALL feature
(to capture all packets) am i right?

Regards,

Ganesh.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to