Hi,

I wrote a simple module which will register an arp_hook to filter the arp
packet using 'dev_add_pack', the KO file can be loaded in openwrt on a
router, but the hook function did not receive the sk_buff correctly.

the pkt_type is alway equals to 0, and no matter what type of packet i am
trying to register to , the result is always the same.

packet_type.type = htons(ETH_P_ARP);

or
packet_type.type = htons(ETH_P_ALL);

Regards,
bycn82
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to