Searched refs:net (Results 101 - 125 of 3582) sorted by relevance

1234567891011>>

/linux-master/net/
H A Dsysctl_net.c3 * sysctl_net.c: sysctl interface to net subsystem.
6 * Added /proc/sys/net directories for each protocol family. [MS]
20 #include <net/sock.h>
23 #include <net/ip.h>
45 struct net *net = container_of(head->set, struct net, sysctls); local
48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) {
60 struct net *net local
79 sysctl_net_init(struct net *net) argument
85 sysctl_net_exit(struct net *net) argument
124 ensure_safe_net_sysctl(struct net *net, const char *path, struct ctl_table *table, size_t table_size) argument
164 register_net_sysctl_sz(struct net *net, const char *path, struct ctl_table *table, size_t table_size) argument
[all...]
/linux-master/tools/testing/selftests/net/
H A Dbig_tcp.sh31 ip -net $ROUTER_NS link add link1 type veth peer name link0 netns $CLIENT_NS
32 ip -net $ROUTER_NS link add link2 type veth peer name link3 netns $SERVER_NS
34 ip -net $CLIENT_NS link set link0 up
35 ip -net $CLIENT_NS link set link0 mtu 1442
36 ip -net $CLIENT_NS addr add $CLIENT_IP4/24 dev link0
37 ip -net $CLIENT_NS addr add $CLIENT_IP6/64 dev link0 nodad
38 ip -net $CLIENT_NS route add $SERVER_IP4 dev link0 via $CLIENT_GW4
39 ip -net $CLIENT_NS route add $SERVER_IP6 dev link0 via $CLIENT_GW6
40 ip -net $CLIENT_NS link set dev link0 \
42 ip -net
[all...]
/linux-master/include/net/
H A Dip6_fib.h16 #include <net/dst.h>
17 #include <net/flow.h>
18 #include <net/ip_fib.h>
19 #include <net/netlink.h>
20 #include <net/inetpeer.h>
21 #include <net/fib_notifier.h>
91 static inline bool fib6_routes_require_src(const struct net *net) argument
96 static inline void fib6_routes_require_src_inc(struct net *net) {} argument
97 fib6_routes_require_src_dec(struct net *net) argument
101 fib6_routes_require_src(const struct net *net) argument
106 fib6_routes_require_src_inc(struct net *net) argument
111 fib6_routes_require_src_dec(struct net *net) argument
607 pol_lookup_func(pol_lookup_t lookup, struct net *net, struct fib6_table *table, struct flowi6 *fl6, const struct sk_buff *skb, int flags) argument
623 fib6_has_custom_rules(const struct net *net) argument
635 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) argument
656 fib6_has_custom_rules(const struct net *net) argument
672 fib6_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) argument
677 fib6_rules_seq_read(struct net *net) argument
681 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) argument
[all...]
/linux-master/net/sunrpc/
H A Dsunrpc_syms.c3 * linux/net/sunrpc/sunrpc_syms.c
33 static __net_init int sunrpc_init_net(struct net *net) argument
36 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
38 err = rpc_proc_init(net);
42 err = ip_map_cache_create(net);
46 err = unix_gid_cache_create(net);
50 err = rpc_pipefs_init_net(net);
60 unix_gid_cache_destroy(net);
62 ip_map_cache_destroy(net);
69 sunrpc_exit_net(struct net *net) argument
[all...]
/linux-master/net/core/
H A Dfib_notifier.c7 #include <net/net_namespace.h>
8 #include <net/netns/generic.h>
9 #include <net/fib_notifier.h>
29 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, argument
32 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id);
40 static unsigned int fib_seq_sum(struct net *net) argument
42 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id);
51 fib_seq += ops->fib_seq_read(net);
60 fib_net_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) argument
83 fib_dump_is_consistent(struct net *net, struct notifier_block *nb, void (*cb)(struct notifier_block *nb), unsigned int fib_seq) argument
99 register_fib_notifier(struct net *net, struct notifier_block *nb, void (*cb)(struct notifier_block *nb), struct netlink_ext_ack *extack) argument
121 unregister_fib_notifier(struct net *net, struct notifier_block *nb) argument
129 __fib_notifier_ops_register(struct fib_notifier_ops *ops, struct net *net) argument
143 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) argument
171 fib_notifier_net_init(struct net *net) argument
180 fib_notifier_net_exit(struct net *net) argument
[all...]
/linux-master/net/tipc/
H A Dnet.c2 * net/tipc/net.c: TIPC network routing code
38 #include "net.h"
109 static void tipc_net_finalize(struct net *net, u32 addr);
111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) argument
113 if (tipc_own_id(net)) {
120 tipc_set_node_id(net, node_id);
122 tipc_net_finalize(net, add
126 tipc_net_finalize(struct net *net, u32 addr) argument
151 tipc_net_stop(struct net *net) argument
164 __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) argument
202 struct net *net = sock_net(skb->sk); local
228 struct net *net = sock_net(skb->sk); local
291 __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) argument
325 struct net *net = sock_net(skb->sk); local
[all...]
/linux-master/include/linux/
H A Dnetfilter_ipv4.h19 int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type);
26 int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl,
34 static inline int nf_ip_route(struct net *net, struct dst_entry **dst, argument
H A Dnetfilter.h7 #include <linux/net.h>
18 #include <net/net_namespace.h>
84 struct net *net; member in struct:nf_hook_state
85 int (*okfn)(struct net *, struct sock *, struct sk_buff *);
163 struct net *net,
164 int (*okfn)(struct net *, struct sock *, struct sk_buff *))
171 p->net = net;
157 nf_hook_state_init(struct nf_hook_state *p, unsigned int hook, u_int8_t pf, struct net_device *indev, struct net_device *outdev, struct sock *sk, struct net *net, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
223 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
294 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *), bool cond) argument
308 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
319 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct list_head *head, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
409 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *), bool cond) argument
418 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
426 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct list_head *head, struct net_device *in, struct net_device *out, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
433 nf_hook(u_int8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct net *, struct sock *, struct sk_buff *)) argument
[all...]
H A Dinet.h42 #include <net/net_namespace.h>
56 extern int inet_pton_with_scope(struct net *net, unsigned short af,
/linux-master/net/ipv6/
H A Dudp_impl.h4 #include <net/udp.h>
5 #include <net/udplite.h>
6 #include <net/protocol.h>
7 #include <net/addrconf.h>
8 #include <net/inet_common.h>
9 #include <net/transp_v6.h>
/linux-master/include/linux/lockd/
H A Dbind.h49 struct net *net; member in struct:nlmclnt_initdata
82 extern int lockd_up(struct net *net, const struct cred *cred);
83 extern void lockd_down(struct net *net);
/linux-master/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.h3 * linux/net/sunrpc/gss_rpc_upcall.h
28 int gssp_accept_sec_context_upcall(struct net *net,
33 int set_gssp_clnt(struct net *);
/linux-master/net/ipv6/netfilter/
H A Dip6table_filter.c36 static int ip6table_filter_table_init(struct net *net) argument
48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops);
53 static int __net_init ip6table_filter_net_init(struct net *net) argument
56 return ip6table_filter_table_init(net);
61 static void __net_exit ip6table_filter_net_pre_exit(struct net *net) argument
63 ip6t_unregister_table_pre_exit(net, "filter");
66 static void __net_exit ip6table_filter_net_exit(struct net *ne argument
[all...]
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");
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flow.h7 #include <net/flow_offload.h>
21 struct net *net; member in struct:prestera_flow_block
/linux-master/fs/nfs/
H A Dcache_lib.h27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dtestmode.h13 #include <net/mac80211.h>
/linux-master/include/net/netns/
H A Dieee802154_6lowpan.h3 * ieee802154 6lowpan in net namespaces
6 #include <net/inet_frag.h>
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw_switchdev.h9 #include <net/switchdev.h>
/linux-master/include/linux/sunrpc/
H A Dsvcauth_gss.h21 int gss_svc_init_net(struct net *net);
22 void gss_svc_shutdown_net(struct net *net);
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/include/net/caif/
H A Dcfcnfg.h11 #include <net/caif/caif_layer.h>
12 #include <net/caif/cfctrl.h>
38 * @net: Network for the CAIF configuration object.
40 struct cfcnfg *get_cfcnfg(struct net *net);
H A Dcfserl.h9 #include <net/caif/caif_layer.h>
/linux-master/net/ipv4/netfilter/
H A Darptable_filter.c31 static int arptable_filter_table_init(struct net *net) argument
39 err = arpt_register_table(net, &packet_filter, repl, arpfilter_ops);
44 static void __net_exit arptable_filter_net_pre_exit(struct net *net) argument
46 arpt_unregister_table_pre_exit(net, "filter");
49 static void __net_exit arptable_filter_net_exit(struct net *net) argument
51 arpt_unregister_table(net, "filter");
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_idc_int.h7 #include <linux/net/intel/iidc.h>

Completed in 177 milliseconds

1234567891011>>