Searched defs:in (Results 1 - 25 of 67) sorted by relevance

123

/net/bridge/netfilter/
H A Dnf_log_bridge.c22 const struct net_device *in,
29 nf_log_packet(net, NFPROTO_IPV4, hooknum, skb, in, out,
33 nf_log_packet(net, NFPROTO_IPV6, hooknum, skb, in, out,
38 nf_log_packet(net, NFPROTO_ARP, hooknum, skb, in, out,
19 nf_log_bridge_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument
H A Dnf_tables_bridge.c20 const struct net_device *in,
26 nft_set_pktinfo(&pkt, ops, skb, in, out);
18 nft_do_chain_bridge(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 *)) argument
H A Dnft_meta_bridge.c26 const struct net_device *in = pkt->in, *out = pkt->out; local
32 if (in == NULL || (p = br_port_get_rcu(in)) == NULL)
H A Debtable_filter.c61 const struct net_device *in, const struct net_device *out,
64 return ebt_do_table(ops->hooknum, skb, in, out,
65 dev_net(in)->xt.frame_filter);
70 const struct net_device *in, const struct net_device *out,
73 return ebt_do_table(ops->hooknum, skb, in, out,
60 ebt_in_hook(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 *)) argument
69 ebt_out_hook(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 *)) argument
H A Debtable_nat.c61 const struct net_device *in, const struct net_device *out,
64 return ebt_do_table(ops->hooknum, skb, in, out,
65 dev_net(in)->xt.frame_nat);
70 const struct net_device *in, const struct net_device *out,
73 return ebt_do_table(ops->hooknum, skb, in, out,
60 ebt_nat_in(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 *)) argument
69 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 *)) argument
/net/ipv4/netfilter/
H A Darptable_filter.c28 /* The work comes in here from netfilter.c */
31 const struct net_device *in, const struct net_device *out,
34 const struct net *net = dev_net((in != NULL) ? in : out);
36 return arpt_do_table(skb, ops->hooknum, in, out,
30 arptable_filter_hook(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 *)) argument
H A Diptable_raw.c2 * 'raw' table, which is the very first hooked in at PRE_ROUTING and LOCAL_OUT .
21 /* The work comes in here from netfilter.c. */
24 const struct net_device *in, const struct net_device *out,
35 net = dev_net((in != NULL) ? in : out);
36 return ipt_do_table(skb, ops->hooknum, in, out, net->ipv4.iptable_raw);
23 iptable_raw_hook(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 *)) argument
H A Diptable_security.c5 * which need to be able to manage security policy in separate context
41 const struct net_device *in,
53 net = dev_net((in != NULL) ? in : out);
54 return ipt_do_table(skb, ops->hooknum, in, out,
40 iptable_security_hook(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 *)) argument
H A Dnf_tables_arp.c20 const struct net_device *in,
26 nft_set_pktinfo(&pkt, ops, skb, in, out);
18 nft_do_chain_arp(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 *)) argument
H A Dnft_chain_nat_ipv4.c31 const struct net_device *in,
37 nft_set_pktinfo_ipv4(&pkt, ops, skb, in, out);
44 const struct net_device *in,
48 return nf_nat_ipv4_fn(ops, skb, in, out, nft_nat_do_chain);
53 const struct net_device *in,
57 return nf_nat_ipv4_in(ops, skb, in, out, nft_nat_do_chain);
62 const struct net_device *in,
66 return nf_nat_ipv4_out(ops, skb, in, out, nft_nat_do_chain);
71 const struct net_device *in,
75 return nf_nat_ipv4_local_fn(ops, skb, in, ou
29 nft_nat_do_chain(const struct nf_hook_ops *ops, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, struct nf_conn *ct) argument
42 nft_nat_ipv4_fn(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 *)) argument
51 nft_nat_ipv4_in(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 *)) argument
60 nft_nat_ipv4_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 *)) argument
69 nft_nat_ipv4_local_fn(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 *)) argument
[all...]
H A Dnft_chain_route_ipv4.c26 const struct net_device *in,
42 nft_set_pktinfo_ipv4(&pkt, ops, skb, in, out);
24 nf_route_table_hook(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 *)) argument
H A Diptable_filter.c37 const struct net_device *in, const struct net_device *out,
48 net = dev_net((in != NULL) ? in : out);
49 return ipt_do_table(skb, ops->hooknum, in, out,
36 iptable_filter_hook(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 *)) argument
H A Diptable_nat.c33 const struct net_device *in,
39 return ipt_do_table(skb, ops->hooknum, in, out, net->ipv4.nat_table);
44 const struct net_device *in,
48 return nf_nat_ipv4_fn(ops, skb, in, out, iptable_nat_do_chain);
53 const struct net_device *in,
57 return nf_nat_ipv4_in(ops, skb, in, out, iptable_nat_do_chain);
62 const struct net_device *in,
66 return nf_nat_ipv4_out(ops, skb, in, out, iptable_nat_do_chain);
71 const struct net_device *in,
75 return nf_nat_ipv4_local_fn(ops, skb, in, ou
31 iptable_nat_do_chain(const struct nf_hook_ops *ops, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, struct nf_conn *ct) argument
42 iptable_nat_ipv4_fn(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 *)) argument
51 iptable_nat_ipv4_in(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 *)) argument
60 iptable_nat_ipv4_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 *)) argument
69 iptable_nat_ipv4_local_fn(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 *)) argument
[all...]
H A Dnf_defrag_ipv4.c66 const struct net_device *in,
64 ipv4_conntrack_defrag(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 *)) argument
H A Dnf_tables_ipv4.c23 const struct net_device *in,
29 nft_set_pktinfo_ipv4(&pkt, ops, skb, in, out);
36 const struct net_device *in,
48 return nft_do_chain_ipv4(ops, skb, in, out, okfn);
21 nft_do_chain_ipv4(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 *)) argument
34 nft_ipv4_output(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 *)) argument
/net/ipv6/netfilter/
H A Dip6table_raw.c20 /* The work comes in here from netfilter.c. */
23 const struct net_device *in, const struct net_device *out,
26 const struct net *net = dev_net((in != NULL) ? in : out);
28 return ip6t_do_table(skb, ops->hooknum, in, out,
22 ip6table_raw_hook(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 *)) argument
H A Dip6table_security.c5 * which need to be able to manage security policy in separate context
40 const struct net_device *in,
44 const struct net *net = dev_net((in != NULL) ? in : out);
46 return ip6t_do_table(skb, ops->hooknum, in, out,
39 ip6table_security_hook(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 *)) argument
H A Dnf_defrag_ipv6_hooks.c57 const struct net_device *in,
81 (struct net_device *) in, (struct net_device *) out,
55 ipv6_defrag(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 *)) argument
H A Dnft_chain_nat_ipv6.c29 const struct net_device *in,
35 nft_set_pktinfo_ipv6(&pkt, ops, skb, in, out);
42 const struct net_device *in,
46 return nf_nat_ipv6_fn(ops, skb, in, out, nft_nat_do_chain);
51 const struct net_device *in,
55 return nf_nat_ipv6_in(ops, skb, in, out, nft_nat_do_chain);
60 const struct net_device *in,
64 return nf_nat_ipv6_out(ops, skb, in, out, nft_nat_do_chain);
69 const struct net_device *in,
73 return nf_nat_ipv6_local_fn(ops, skb, in, ou
27 nft_nat_do_chain(const struct nf_hook_ops *ops, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, struct nf_conn *ct) argument
40 nft_nat_ipv6_fn(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 *)) argument
49 nft_nat_ipv6_in(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 *)) argument
58 nft_nat_ipv6_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 *)) argument
67 nft_nat_ipv6_local_fn(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 *)) argument
[all...]
H A Dnft_chain_route_ipv6.c27 const struct net_device *in,
38 if (nft_set_pktinfo_ipv6(&pkt, ops, skb, in, out) < 0)
25 nf_route_table_hook(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 *)) argument
H A Dip6table_filter.c33 /* The work comes in here from netfilter.c. */
36 const struct net_device *in, const struct net_device *out,
39 const struct net *net = dev_net((in != NULL) ? in : out);
41 return ip6t_do_table(skb, ops->hooknum, in, out,
35 ip6table_filter_hook(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 *)) argument
H A Dip6table_nat.c35 const struct net_device *in,
41 return ip6t_do_table(skb, ops->hooknum, in, out, net->ipv6.ip6table_nat);
46 const struct net_device *in,
50 return nf_nat_ipv6_fn(ops, skb, in, out, ip6table_nat_do_chain);
55 const struct net_device *in,
59 return nf_nat_ipv6_in(ops, skb, in, out, ip6table_nat_do_chain);
64 const struct net_device *in,
68 return nf_nat_ipv6_out(ops, skb, in, out, ip6table_nat_do_chain);
73 const struct net_device *in,
77 return nf_nat_ipv6_local_fn(ops, skb, in, ou
33 ip6table_nat_do_chain(const struct nf_hook_ops *ops, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, struct nf_conn *ct) argument
44 ip6table_nat_fn(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 *)) argument
53 ip6table_nat_in(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 *)) argument
62 ip6table_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 *)) argument
71 ip6table_nat_local_fn(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 *)) argument
[all...]
H A Dnf_tables_ipv6.c21 const struct net_device *in,
28 if (nft_set_pktinfo_ipv6(&pkt, ops, skb, in, out) < 0)
36 const struct net_device *in,
47 return nft_do_chain_ipv6(ops, skb, in, out, okfn);
19 nft_do_chain_ipv6(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 *)) argument
34 nft_ipv6_output(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 *)) argument
/net/sctp/
H A Dssnmap.c14 * This SCTP implementation is distributed in the hope that it
37 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
41 * specific needs of in or out streams.
43 static inline size_t sctp_ssnmap_size(__u16 in, __u16 out) argument
45 return sizeof(struct sctp_ssnmap) + (in + out) * sizeof(__u16);
52 struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out, argument
58 size = sctp_ssnmap_size(in, out);
67 if (!sctp_ssnmap_init(retval, in, out))
85 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in, argument
88 memset(map, 0x00, sctp_ssnmap_size(in, ou
[all...]
/net/decnet/netfilter/
H A Ddn_rtmsg.c92 const struct net_device *in,
90 dnrmg_hook(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 *)) argument

Completed in 190 milliseconds

123