Skip to contentSkip to conversation

question about __netif_receive_skb_core() work on macvlan device

DISCUSSION Yuan, Linyu (NSB - CN/Shanghai) 1 participant 1 message Jan 5, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I have a question about __netif_receive_skb_core(),
1. create a macvlan device on a real ethernet device and configure a mac address to this macvlan device
2. create a AF_PACKET socket and bind to the real ethernet device in step 1
3. user application will receive packet which destination mac address equal to step1 through socket created by step2

Is it correct for a macvlan device configured as step1?

thanks