Searched refs:in (Results 1 - 25 of 294) sorted by relevance

1234567891011>>

/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/ipv4/netfilter/
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 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 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_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_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_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 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 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 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_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
/net/hsr/
H A DKconfig11 and it must be connected as a node in a ring network together with
14 All Ethernet frames sent over the hsr device will be sent in both
16 instant fail-over network. Each HSR node in the ring acts like a
21 described in IEC 62439-3:2010 (HSRv0), but no compliancy tests have
25 relying on this code in a safety critical system!
/net/caif/
H A DKconfig29 Enable the inclusion of debug code in the CAIF stack.
39 This can be either built-in or a loadable module,
40 If you select to build it as a built-in then the main CAIF device must
41 also be a built-in.
50 This can be either built-in or a loadable module,
51 If you select to build it as a built-in then the main CAIF device must
52 also be a built-in.
/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 Debt_nflog.c27 struct net *net = dev_net(par->in ? par->in : par->out);
34 nf_log_packet(net, PF_BRIDGE, par->hooknum, skb, par->in,
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
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)
/net/ceph/crush/
H A Dmapper.c56 * crush input @x and replica position (usually, position in output set) @r,
57 * will produce an item in the bucket.
105 /* no point in swapping the final entry */
201 /* pick point in [0, w) */
241 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) argument
243 dprintk(" crush_bucket_choose %d x=%d r=%d\n", in->id, x, r);
244 BUG_ON(in->size == 0);
245 switch (in->alg) {
247 return bucket_uniform_choose((struct crush_bucket_uniform *)in,
250 return bucket_list_choose((struct crush_bucket_list *)in,
319 struct crush_bucket *in = bucket; local
488 struct crush_bucket *in = bucket; local
[all...]
/net/netfilter/ipvs/
H A DKconfig23 If you want to compile it in kernel, say Y. To compile it as a
40 Say Y here if you want to get additional messages useful in
42 level in /proc/sys/net/ipv4/vs/debug_level
52 in the hash table.
61 average lasting time of connection in the table. For example, your
63 for 200 seconds in average in the connection table, the table size
73 if IP VS was compiled built-in.
117 connections to different real servers in a round-robin manner.
119 If you want to compile it in kerne
[all...]
/net/tipc/
H A DKconfig11 originates from Ericsson where it has been used in carrier grade
17 can be inserted in and removed from the running kernel whenever you
21 If in doubt, say N.
24 int "Maximum number of ports in a node"
/net/can/
H A DKconfig10 communications protocol which was developed by Bosch in
11 1991, mainly for automotive, but now widely used in marine
14 is contained in <Documentation/networking/can.txt>.
26 the BSD socket API. You probably want to use the raw socket in
39 You probably want to use the bcm socket in most cases where cyclic
40 CAN messages are used on the bus (e.g. in automotive environments).
/net/netfilter/
H A Dxt_NFLOG.c29 struct net *net = dev_net(par->in ? par->in : par->out);
36 nfulnl_log_packet(net, par->family, par->hooknum, skb, par->in,

Completed in 271 milliseconds

1234567891011>>