Searched refs:net (Results 126 - 150 of 3618) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/netfilter/
H A Dip6table_security.c37 static int ip6table_security_table_init(struct net *net) argument
45 ret = ip6t_register_table(net, &security_table, repl, sectbl_ops);
50 static void __net_exit ip6table_security_net_pre_exit(struct net *net) argument
52 ip6t_unregister_table_pre_exit(net, "security");
55 static void __net_exit ip6table_security_net_exit(struct net *net) argument
57 ip6t_unregister_table_exit(net, "security");
H A Dip6table_nat.c3 * Copyright (c) 2011 Patrick McHardy <kaber@trash.net>
14 #include <net/ipv6.h>
16 #include <net/netfilter/nf_nat.h>
61 static int ip6t_nat_register_lookups(struct net *net) argument
68 table = xt_find_table(net, NFPROTO_IPV6, "nat");
72 xt_nat_net = net_generic(net, ip6table_nat_net_id);
79 ret = nf_nat_ipv6_register_fn(net, &ops[i]);
82 nf_nat_ipv6_unregister_fn(net, &ops[--i]);
93 static void ip6t_nat_unregister_lookups(struct net *ne argument
108 ip6table_nat_table_init(struct net *net) argument
131 ip6table_nat_net_pre_exit(struct net *net) argument
136 ip6table_nat_net_exit(struct net *net) argument
[all...]
H A Dnf_dup_ipv6.c12 #include <net/ipv6.h>
13 #include <net/ip6_route.h>
14 #include <net/netfilter/ipv6/nf_dup_ipv6.h>
16 #include <net/netfilter/nf_conntrack.h>
19 static bool nf_dup_ipv6_route(struct net *net, struct sk_buff *skb, argument
34 dst = ip6_route_output(net, NULL, &fl6);
47 void nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum, argument
65 if (nf_dup_ipv6_route(net, sk
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_idc_int.h7 #include <linux/net/intel/iidc.h>
/linux-master/include/linux/sunrpc/
H A Drpc_pipe_fs.h86 extern int rpc_pipefs_init_net(struct net *net);
87 extern void rpc_pipefs_exit_net(struct net *net);
88 extern struct super_block *rpc_get_sb_net(const struct net *net);
89 extern void rpc_put_sb_net(const struct net *net);
108 extern int rpc_add_pipe_dir_object(struct net *net,
[all...]
/linux-master/net/sunrpc/
H A Dnetns.h5 #include <net/net_namespace.h>
6 #include <net/netns/generic.h>
41 int ip_map_cache_create(struct net *);
42 void ip_map_cache_destroy(struct net *);
H A Dsysfs.h10 struct net *net; member in struct:rpc_sysfs_xprt_switch
26 struct net *net);
/linux-master/drivers/vdpa/mlx5/
H A DMakefile4 mlx5_vdpa-$(CONFIG_MLX5_VDPA_NET) += net/mlx5_vnet.o core/resources.o core/mr.o net/debug.o
/linux-master/include/net/netfilter/
H A Dnf_tproxy.h4 #include <net/tcp.h>
55 nf_tproxy_handle_time_wait4(struct net *net, struct sk_buff *skb,
82 nf_tproxy_get_sock_v4(struct net *net, struct sk_buff *skb,
98 * @net: Network namespace.
115 struct net *net,
121 nf_tproxy_get_sock_v6(struct net *net, struc
[all...]
H A Dnf_conntrack_timeout.h5 #include <net/net_namespace.h>
9 #include <net/netfilter/nf_conntrack.h>
10 #include <net/netfilter/nf_conntrack_extend.h>
84 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout);
85 int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, u8 l3num, u8 l4num,
89 static inline int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, argument
104 struct nf_ct_timeout *(*timeout_find_get)(struct net *ne
[all...]
H A Dnf_conntrack_core.h17 #include <net/netfilter/nf_conntrack.h>
18 #include <net/netfilter/nf_conntrack_ecache.h>
19 #include <net/netfilter/nf_conntrack_l4proto.h>
28 int nf_conntrack_init_net(struct net *net);
29 void nf_conntrack_cleanup_net(struct net *net);
32 void nf_conntrack_proto_pernet_init(struct net *net);
48 nf_conntrack_find_get(struct net *ne
[all...]
/linux-master/include/net/
H A Dfou.h7 #include <net/flow.h>
8 #include <net/gue.h>
9 #include <net/ip_tunnels.h>
10 #include <net/udp.h>
H A Drawv6.h5 #include <net/protocol.h>
6 #include <net/raw.h>
9 bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num,
H A Dinet_hashtables.h24 #include <net/inet_connection_sock.h>
25 #include <net/inet_sock.h>
26 #include <net/ip.h>
27 #include <net/sock.h>
28 #include <net/route.h>
29 #include <net/tcp_states.h>
30 #include <net/netns/hash.h>
112 static inline struct net *ib_net(const struct inet_bind_bucket *ib)
117 static inline struct net *ib2_net(const struct inet_bind2_bucket *ib)
226 inet_bind_bucket_create(struct kmem_cache *cachep, struct net *ne
255 inet_bhashfn(const struct net *net, const __u16 lport, const u32 bhash_size) argument
262 inet_bhashfn_portaddr(const struct inet_hashinfo *hinfo, const struct sock *sk, const struct net *net, unsigned short port) argument
315 inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, __be16 dport, int dif, int sdif) argument
354 inet_match(struct net *net, const struct sock *sk, const __addrpair cookie, const __portpair ports, int dif, int sdif) argument
399 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
408 __inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif, const int sdif, bool *refcounted) argument
429 inet_lookup(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, const int dif) argument
448 inet_steal_sock(struct net *net, struct sk_buff *skb, int doff, const __be32 saddr, const __be16 sport, const __be32 daddr, const __be16 dport, bool *refcounted, inet_ehashfn_t *ehashfn) argument
495 struct net *net = dev_net(skb_dst(skb)->dev); local
[all...]
H A Draw.h16 #include <net/inet_sock.h>
17 #include <net/protocol.h>
18 #include <net/netns/hash.h>
25 bool raw_v4_match(struct net *net, const struct sock *sk, unsigned short num,
43 static inline u32 raw_hashfunc(const struct net *net, u32 proto) argument
45 return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG);
88 static inline bool raw_sk_bound_dev_eq(struct net *net, in argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_tbf_root.sh9 lib_dir=$(dirname $0)/../../../net/forwarding
H A Dsch_tbf_prio.sh9 lib_dir=$(dirname $0)/../../../net/forwarding
H A Dsch_tbf_ets.sh9 lib_dir=$(dirname $0)/../../../net/forwarding
/linux-master/fs/smb/client/
H A Ddns_resolve.h14 #include <linux/net.h>
/linux-master/fs/nfs/
H A Dsysfs.h14 struct net *net; member in struct:nfs_netns_client
23 void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net);
/linux-master/tools/testing/selftests/drivers/net/hw/
H A DMakefile22 ../../../net/lib.sh \
23 ../../../net/forwarding/lib.sh \
24 ../../../net/forwarding/ipip_lib.sh \
25 ../../../net/forwarding/tc_common.sh \
/linux-master/net/ipv4/netfilter/
H A Diptable_nat.c4 * (C) 2011 Patrick McHardy <kaber@trash.net>
12 #include <net/ip.h>
14 #include <net/netfilter/nf_nat.h>
59 static int ipt_nat_register_lookups(struct net *net) argument
66 xt_nat_net = net_generic(net, iptable_nat_net_id);
67 table = xt_find_table(net, NFPROTO_IPV4, "nat");
77 ret = nf_nat_ipv4_register_fn(net, &ops[i]);
80 nf_nat_ipv4_unregister_fn(net, &ops[--i]);
91 static void ipt_nat_unregister_lookups(struct net *ne argument
106 iptable_nat_table_init(struct net *net) argument
129 iptable_nat_net_pre_exit(struct net *net) argument
134 iptable_nat_net_exit(struct net *net) argument
[all...]
/linux-master/net/ipv6/
H A Dproc.c15 #include <linux/net.h>
21 #include <net/net_namespace.h>
22 #include <net/ip.h>
23 #include <net/sock.h>
24 #include <net/tcp.h>
25 #include <net/udp.h>
26 #include <net/transp_v6.h>
27 #include <net/ipv6.h>
36 struct net *net local
219 struct net *net = (struct net *)seq->private; local
249 struct net *net; local
269 struct net *net = dev_net(idev->dev); local
279 ipv6_proc_init_net(struct net *net) argument
301 ipv6_proc_exit_net(struct net *net) argument
[all...]
/linux-master/net/tipc/
H A Dcore.c2 * net/tipc/core.c: TIPC module code
41 #include "net.h"
53 static int __net_init tipc_init_net(struct net *net) argument
55 struct tipc_net *tn = net_generic(net, tipc_net_id);
72 err = tipc_crypto_start(&tn->crypto_tx, net, NULL);
76 err = tipc_sk_rht_init(net);
80 err = tipc_nametbl_init(net);
84 err = tipc_bcast_init(net);
88 err = tipc_attach_loopback(net);
107 tipc_exit_net(struct net *net) argument
125 tipc_pernet_pre_exit(struct net *net) argument
[all...]
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnft_fib.sh13 log_netns=$(sysctl -n net.netfilter.nf_log_all_netns)
19 [ "$log_netns" -eq 0 ] && sysctl -q net.netfilter.nf_log_all_netns=$log_netns
33 sysctl -q net.netfilter.nf_log_all_netns=1
114 ip -net "$nsrouter" link set veth0 up
115 ip -net "$nsrouter" addr add 10.0.1.1/24 dev veth0
116 ip -net "$nsrouter" addr add dead:1::1/64 dev veth0 nodad
118 ip -net "$nsrouter" link set veth1 up
119 ip -net "$nsrouter" addr add 10.0.2.1/24 dev veth1
120 ip -net "$nsrouter" addr add dead:2::1/64 dev veth1 nodad
122 ip -net "
[all...]

Completed in 344 milliseconds

1234567891011>>