Searched defs:par (Results 1 - 25 of 133) sorted by relevance

123456

/net/ipv6/netfilter/
H A Dip6t_eui64.c23 eui64_mt6(const struct sk_buff *skb, struct xt_action_param *par) argument
29 par->fragoff != 0) {
30 par->hotdrop = true;
H A Dip6t_MASQUERADE.c25 masquerade_tg6(struct sk_buff *skb, const struct xt_action_param *par) argument
27 return nf_nat_masquerade_ipv6(skb, par->targinfo, par->out);
30 static int masquerade_tg6_checkentry(const struct xt_tgchk_param *par) argument
32 const struct nf_nat_range *range = par->targinfo;
/net/netfilter/
H A Dxt_CLASSIFY.c32 classify_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
34 const struct xt_classify_target_info *clinfo = par->targinfo;
H A Dxt_TRACE.c14 trace_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
H A Dxt_comment.c19 comment_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
H A Dxt_CHECKSUM.c26 checksum_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
34 static int checksum_tg_check(const struct xt_tgchk_param *par) argument
36 const struct xt_CHECKSUM_info *einfo = par->targinfo;
H A Dxt_NFLOG.c25 nflog_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
27 const struct xt_nflog_info *info = par->targinfo;
29 struct net *net = dev_net(par->in ? par->in : par->out);
36 nfulnl_log_packet(net, par->family, par->hooknum, skb, par->in,
37 par->out, &li, info->prefix);
41 static int nflog_tg_check(const struct xt_tgchk_param *par) argument
[all...]
H A Dxt_bpf.c23 static int bpf_mt_check(const struct xt_mtchk_param *par) argument
25 struct xt_bpf_info *info = par->matchinfo;
39 static bool bpf_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
41 const struct xt_bpf_info *info = par->matchinfo;
46 static void bpf_mt_destroy(const struct xt_mtdtor_param *par) argument
48 const struct xt_bpf_info *info = par->matchinfo;
H A Dxt_cgroup.c27 static int cgroup_mt_check(const struct xt_mtchk_param *par) argument
29 struct xt_cgroup_info *info = par->matchinfo;
38 cgroup_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
40 const struct xt_cgroup_info *info = par->matchinfo;
H A Dxt_cpu.c28 static int cpu_mt_check(const struct xt_mtchk_param *par) argument
30 const struct xt_cpu_info *info = par->matchinfo;
37 static bool cpu_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
39 const struct xt_cpu_info *info = par->matchinfo;
H A Dxt_devgroup.c22 static bool devgroup_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
24 const struct xt_devgroup_info *info = par->matchinfo;
27 (((info->src_group ^ par->in->group) & info->src_mask ? 1 : 0) ^
32 (((info->dst_group ^ par->out->group) & info->dst_mask ? 1 : 0) ^
39 static int devgroup_mt_checkentry(const struct xt_mtchk_param *par) argument
41 const struct xt_devgroup_info *info = par->matchinfo;
48 par->hook_mask & ~((1 << NF_INET_PRE_ROUTING) |
54 par->hook_mask & ~((1 << NF_INET_FORWARD) |
H A Dxt_hl.c28 static bool ttl_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
30 const struct ipt_ttl_info *info = par->matchinfo;
47 static bool hl_mt6(const struct sk_buff *skb, struct xt_action_param *par) argument
49 const struct ip6t_hl_info *info = par->matchinfo;
H A Dxt_length.c24 length_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
26 const struct xt_length_info *info = par->matchinfo;
33 length_mt6(const struct sk_buff *skb, struct xt_action_param *par) argument
35 const struct xt_length_info *info = par->matchinfo;
H A Dxt_mac.c28 static bool mac_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
30 const struct xt_mac_info *info = par->matchinfo;
H A Dxt_mark.c28 mark_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
30 const struct xt_mark_tginfo2 *info = par->targinfo;
37 mark_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
39 const struct xt_mark_mtinfo1 *info = par->matchinfo;
H A Dxt_pkttype.c26 pkttype_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
28 const struct xt_pkttype_info *info = par->matchinfo;
33 else if (par->family == NFPROTO_IPV4 &&
36 else if (par->family == NFPROTO_IPV6 &&
H A Dxt_realm.c25 realm_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
27 const struct xt_realm_info *info = par->matchinfo;
/net/bridge/netfilter/
H A Debt_802_3.c16 ebt_802_3_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
18 const struct ebt_802_3_info *info = par->matchinfo;
39 static int ebt_802_3_mt_check(const struct xt_mtchk_param *par) argument
41 const struct ebt_802_3_info *info = par->matchinfo;
H A Debt_dnat.c18 ebt_dnat_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
20 const struct ebt_nat_info *info = par->targinfo;
29 static int ebt_dnat_tg_check(const struct xt_tgchk_param *par) argument
31 const struct ebt_nat_info *info = par->targinfo;
37 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS);
38 if ((strcmp(par->table, "nat") != 0 ||
41 (strcmp(par->table, "broute") != 0 ||
H A Debt_nflog.c23 ebt_nflog_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
25 const struct ebt_nflog_info *info = par->targinfo;
27 struct net *net = dev_net(par->in ? par->in : par->out);
34 nf_log_packet(net, PF_BRIDGE, par->hooknum, skb, par->in,
35 par->out, &li, "%s", info->prefix);
39 static int ebt_nflog_tg_check(const struct xt_tgchk_param *par) argument
41 struct ebt_nflog_info *info = par
[all...]
H A Debt_pkttype.c16 ebt_pkttype_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
18 const struct ebt_pkttype_info *info = par->matchinfo;
23 static int ebt_pkttype_mt_check(const struct xt_mtchk_param *par) argument
25 const struct ebt_pkttype_info *info = par->matchinfo;
H A Debt_redirect.c19 ebt_redirect_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
21 const struct ebt_redirect_info *info = par->targinfo;
26 if (par->hooknum != NF_BR_BROUTING)
29 br_port_get_rcu(par->in)->br->dev->dev_addr);
31 ether_addr_copy(eth_hdr(skb)->h_dest, par->in->dev_addr);
36 static int ebt_redirect_tg_check(const struct xt_tgchk_param *par) argument
38 const struct ebt_redirect_info *info = par->targinfo;
44 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS);
45 if ((strcmp(par->table, "nat") != 0 ||
47 (strcmp(par
[all...]
H A Debt_ip.c28 ebt_ip_mt(const struct sk_buff *skb, struct xt_action_param *par) argument
30 const struct ebt_ip_info *info = par->matchinfo;
80 static int ebt_ip_mt_check(const struct xt_mtchk_param *par) argument
82 const struct ebt_ip_info *info = par->matchinfo;
83 const struct ebt_entry *e = par->entryinfo;
H A Debt_snat.c20 ebt_snat_tg(struct sk_buff *skb, const struct xt_action_param *par) argument
22 const struct ebt_nat_info *info = par->targinfo;
45 static int ebt_snat_tg_check(const struct xt_tgchk_param *par) argument
47 const struct ebt_nat_info *info = par->targinfo;
/net/ipv4/netfilter/
H A Darpt_mangle.c12 target(struct sk_buff *skb, const struct xt_action_param *par) argument
14 const struct arpt_mangle *mangle = par->targinfo;
57 static int checkentry(const struct xt_tgchk_param *par) argument
59 const struct arpt_mangle *mangle = par->targinfo;

Completed in 1553 milliseconds

123456