Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2009
how to get the real device in hook?
I am using hook to realize netfilter. I am now puzzled with the using of struct sk_buff in linux 2.6 version. I can see that a member called "real_dev " in sk_buff in linux 2.4 . This is used to maitain the real devive that recieve the data in some cases like bonding driver and vlan.
But in linux 2.6, this real_dev is removed , and after netif_rx_dev() , the real devive imformation is lost. How could I get the real device in the sequence hook function.