Can I receive tagged frames and send tagged frames on my Application? Can someone give me some guidance as to where and how to implement tagged frames? Tagged frames are like this. ProtocolID:0x8100 Plese,Let me know.
You can’t there is no such api that allows you to do so.
You can modify the ethernet driver receive routine to check if the received packet is tagged one, if so, you can pass this packet frame to your application to process it (not through stack which will discards this kind of packet frame). Of cource your application needs to make such kind of frame and send out through ethernet driver directly.
Thank you for giving me advices. >You can’t there is no such api that allows you to do so. Mr.Muscleman,Thank you. I checked that there is no API. >You can modify the ethernet driver receive routine to >check if the received packet is tagged one,if so, you >can pass this packet frame to your application to >process it (not through stack which will discards this >kind of packet frame). Of cource your application needs >to make such kind of frame and send out through ethernet >driver directly. Mr.abcd,Thank you. I also think that TCP/IP stack can not support tagged frames.As a matter of fact,It was unreceivable although tried.(through TCP/IP stack) Now,I’m trying to do Your way. If we receive tagged frames on the ethernet driver, I can get frames on my application through ethernet driver directly. By the way, I’d like to send and receive tagged frames through TCP/IP stack on my application sockets. It is because I want to use the API functions of the NET + OS Kernel. (like Event flags,Thread controls,and so on.) Can I receive frames through TCP/IP stack? by removing the tagging information and by reducing 4byte of length value? the tagging informatiuon like this, --------------------------------------------------- TPID(2 byte):0x8100 TCI(2 byte):priority(3bit) | CFI(1bit) | VID(12bit) --------------------------------------------------- I think that is the realistic solution to utilize Net + OS Kernel Services. How do you think?