Re: Target extension with nf_hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 2012-11-11 11:56, Aft nix wrote:
>
>static struct xt_target obsf_tg_reg __read_mostly = {
>
>        .name = "OBSF",
>        .family = NFPROTO_UNSPEC,
>        .target = obsf_tg,
>        .checkentry = obsf_tg_check,
>        .targetsize = sizeof(struct xt_OBSF_tginfo),
>        .me = THIS_MODULE,
>};
>
>static struct nf_hook_ops inward_obsf_ops __read_mostly = {
>    .pf = NFPROTO_IPV4,
>    .priority = 1,
>    .hooknum = NF_INET_PRE_ROUTING,
>    .hook = ibss_obsf_inward_begin,
>};
>
>a) Between ibss_obsf_inward_begin() and obsf_tg() who will be called first?

The filter,mangle,etc. tables all have a specific and different priority
assigned (git grep NF_IP_PRI_ include/).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux