예제 #1
0
static unsigned int
ebt_out_hook(unsigned int hook, struct sk_buff *skb, const struct net_device *in,
   const struct net_device *out, int (*okfn)(struct sk_buff *))
{
	return ebt_do_table(hook, skb, in, out, dev_net(out)->xt.frame_filter);
}
예제 #2
0
파일: ebtable_nat.c 프로젝트: mkrufky/linux
static unsigned int
ebt_nat_out(void *priv, struct sk_buff *skb,
	    const struct nf_hook_state *state)
{
	return ebt_do_table(skb, state, state->net->xt.frame_nat);
}
예제 #3
0
static unsigned int
ebt_nat_out(const struct nf_hook_ops *ops, struct sk_buff *skb, const struct net_device *in
   , const struct net_device *out, int (*okfn)(struct sk_buff *))
{
	return ebt_do_table(ops->hooknum, skb, in, out, dev_net(out)->xt.frame_nat);
}
static unsigned int
ebt_hook (unsigned int hook, struct sk_buff **pskb, const struct net_device *in,
   const struct net_device *out, int (*okfn)(struct sk_buff *))
{
	return ebt_do_table(hook, pskb, in, out, &frame_filter);
}
예제 #5
0
static unsigned int
ebt_nat_in(unsigned int hook, struct sk_buff *skb, const struct net_device *in
           , const struct net_device *out, int (*okfn)(struct sk_buff *))
{
    return ebt_do_table(hook, skb, in, out, dev_net(in)->xt.frame_nat);
}