Hi,

I was doing a mistake. Now it's working ;)
BTW, I'm gonna implement a geographic routing protocol to my master thesis.
If anyone is interested, let me know.

Best regards,
João Paulo


2013/4/25 João Paulo Bodanese <joao.bodan...@gmail.com>

> Hello,
>
> Is it possible to use Netfilter to hook the packets on 6LowPan?
>
> I tryied 2 different configurations:
>
> 1)
> netfilter_ops.hook              =       main_hook;
> netfilter_ops.pf                    =       PF_INET6;
>  netfilter_ops.hooknum       =       NF_IP6_PRE_ROUTING;
> netfilter_ops.priority           =       NF_IP6_PRI_FIRST;
>
> In this case no packet is hooked.
>
> 2)
>
>        netfilter_ops.pf  = PF_IEEE802154
>
> I got a crash on loading the module
>
> ...
> [   28.608943] [<c047a908>] (nf_register_hook+0x38/0x84) from [<bf0da050>]
> (filter_init+0x50/0x70 [netfilter])
> [   28.619396] [<bf0da050>] (filter_init+0x50/0x70 [netfilter]) from
> [<c0008878>] (do_one_initcall+0x90/0x160)
> [   28.629827] [<c0008878>] (do_one_initcall+0x90/0x160) from [<c008822c>]
> (load_module+0x1948/0x1bf8)
> [   28.639496] [<c008822c>] (load_module+0x1948/0x1bf8) from [<c00885a8>]
> (sys_init_module+0xcc/0xec)
> [   28.649083] [<c00885a8>] (sys_init_module+0xcc/0xec) from [<c000d8c0>]
> (ret_fast_syscall+0x0/0x30)
>
>
> Thanks a lot,
> João Paulo
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to