Does PF_PACKET support available in socket creation?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does PF_PACKET support available in socket creation?

1,398 次查看
zekelandon
Contributor III

Hello Community,

I wanted to receive Ethernet frame using a packet socket supported by PF_PACKET family. Is this support available for FreeRTOS stack integrated in MCUXpresso IDE v11?

pastedImage_1.png

Or could some one help me in receiving raw Ethernet frames of specific protocol (say specific Ethertype) which is not a standard one?

Regards,

Zeke

标签 (1)
0 项奖励
回复
3 回复数

1,273 次查看
nxf45548
NXP Employee
NXP Employee

To provide you better support. Can you please let us know the part number that you are using? 

0 项奖励
回复

1,273 次查看
zekelandon
Contributor III

nxf45548‌ I am working with MX RT board - 1064 EVK

0 项奖励
回复

1,273 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Zeke:

Socket API in lwip is bulit on top of the sequential API.  I don't see support for PF_PACKET in current version of lwip.

Please refer to below link for more details.

lwIP: Socket API 

Regards

Daniel

0 项奖励
回复