Home
last modified time | relevance | path

Searched full:net (Results 1 – 25 of 6581) sorted by relevance

12345678910>>...264

/kernel/linux/linux-5.10/drivers/net/ethernet/
DKconfig8 depends on NET
21 source "drivers/net/ethernet/3com/Kconfig"
22 source "drivers/net/ethernet/adaptec/Kconfig"
23 source "drivers/net/ethernet/aeroflex/Kconfig"
24 source "drivers/net/ethernet/agere/Kconfig"
25 source "drivers/net/ethernet/alacritech/Kconfig"
26 source "drivers/net/ethernet/allwinner/Kconfig"
27 source "drivers/net/ethernet/alteon/Kconfig"
28 source "drivers/net/ethernet/altera/Kconfig"
29 source "drivers/net/ethernet/amazon/Kconfig"
[all …]
/kernel/linux/linux-4.19/include/net/
Dnet_namespace.h15 #include <net/flow.h>
16 #include <net/netns/core.h>
17 #include <net/netns/mib.h>
18 #include <net/netns/unix.h>
19 #include <net/netns/packet.h>
20 #include <net/netns/ipv4.h>
21 #include <net/netns/ipv6.h>
22 #include <net/netns/ieee802154_6lowpan.h>
23 #include <net/netns/sctp.h>
24 #include <net/netns/dccp.h>
[all …]
Dip_fib.h19 #include <net/flow.h>
22 #include <net/fib_notifier.h>
23 #include <net/fib_rules.h>
24 #include <net/inetpeer.h>
109 struct net *fib_net;
176 __be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh);
178 #define FIB_RES_SADDR(net, res) \ argument
180 atomic_read(&(net)->ipv4.dev_addr_genid)) ? \
182 fib_info_update_nh_saddr((net), &FIB_RES_NH(res)))
187 #define FIB_RES_PREFSRC(net, res) ((res).fi->fib_prefsrc ? : \ argument
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/
DKconfig7 depends on NET
20 source "drivers/net/ethernet/3com/Kconfig"
21 source "drivers/net/ethernet/adaptec/Kconfig"
22 source "drivers/net/ethernet/aeroflex/Kconfig"
23 source "drivers/net/ethernet/agere/Kconfig"
24 source "drivers/net/ethernet/alacritech/Kconfig"
25 source "drivers/net/ethernet/allwinner/Kconfig"
26 source "drivers/net/ethernet/alteon/Kconfig"
27 source "drivers/net/ethernet/altera/Kconfig"
28 source "drivers/net/ethernet/amazon/Kconfig"
[all …]
/kernel/linux/linux-5.10/include/net/
Dnet_namespace.h15 #include <net/flow.h>
16 #include <net/netns/core.h>
17 #include <net/netns/mib.h>
18 #include <net/netns/unix.h>
19 #include <net/netns/packet.h>
20 #include <net/netns/ipv4.h>
21 #include <net/netns/ipv6.h>
22 #include <net/netns/nexthop.h>
23 #include <net/netns/ieee802154_6lowpan.h>
24 #include <net/netns/sctp.h>
[all …]
Dip_fib.h15 #include <net/flow.h>
18 #include <net/fib_notifier.h>
19 #include <net/fib_rules.h>
20 #include <net/inetpeer.h>
135 struct net *fib_net;
199 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
201 __be32 fib_result_prefsrc(struct net *net, struct fib_result *res);
237 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type,
240 int __net_init fib4_notifier_init(struct net *net);
241 void __net_exit fib4_notifier_exit(struct net *net);
[all …]
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>
96 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
101 static inline void fib6_routes_require_src_inc(struct net *net) {} in fib6_routes_require_src_inc() argument
102 static inline void fib6_routes_require_src_dec(struct net *net) {} in fib6_routes_require_src_dec() argument
106 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
[all …]
/kernel/linux/linux-4.19/Documentation/driver-api/80211/
Dcfg80211.rst5 .. kernel-doc:: include/net/cfg80211.h
11 .. kernel-doc:: include/net/cfg80211.h
14 .. kernel-doc:: include/net/cfg80211.h
17 .. kernel-doc:: include/net/cfg80211.h
20 .. kernel-doc:: include/net/cfg80211.h
23 .. kernel-doc:: include/net/cfg80211.h
26 .. kernel-doc:: include/net/cfg80211.h
29 .. kernel-doc:: include/net/cfg80211.h
32 .. kernel-doc:: include/net/cfg80211.h
35 .. kernel-doc:: include/net/cfg80211.h
[all …]
/kernel/linux/linux-4.19/net/core/
Dnet_namespace.c22 #include <net/sock.h>
23 #include <net/netlink.h>
24 #include <net/net_namespace.h>
25 #include <net/netns/generic.h>
41 struct net init_net = {
51 * This is internal net namespace object. Please, don't use it
76 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() argument
82 old_ng = rcu_dereference_protected(net->gen, in net_assign_generic()
96 * The net_generic explores the net->gen array inside rcu in net_assign_generic()
97 * read section. Besides once set the net->gen->ptr[x] in net_assign_generic()
[all …]
/kernel/linux/linux-4.19/net/tipc/
Dbcast.c2 * net/tipc/bcast.c: TIPC broadcast code
72 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base() argument
74 return tipc_net(net)->bcbase; in tipc_bc_base()
81 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu() argument
83 return tipc_link_mtu(tipc_bc_sndlink(net)) - INT_H_SIZE; in tipc_bcast_get_mtu()
86 void tipc_bcast_disable_rcast(struct net *net) in tipc_bcast_disable_rcast() argument
88 tipc_bc_base(net)->rcast_support = false; in tipc_bcast_disable_rcast()
91 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold() argument
93 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_calc_bc_threshold()
94 int cluster_size = tipc_link_bc_peers(tipc_bc_sndlink(net)); in tipc_bcbase_calc_bc_threshold()
[all …]
Dbcast.h2 * net/tipc/bcast.h: Include file for TIPC broadcast code
74 int tipc_bcast_init(struct net *net);
75 void tipc_bcast_stop(struct net *net);
76 void tipc_bcast_add_peer(struct net *net, struct tipc_link *l,
78 void tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_bcl);
79 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id);
80 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id);
81 int tipc_bcast_get_mtu(struct net *net);
82 void tipc_bcast_disable_rcast(struct net *net);
83 int tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts,
[all …]
/kernel/linux/linux-5.10/net/core/
Dnet_namespace.c24 #include <net/sock.h>
25 #include <net/netlink.h>
26 #include <net/net_namespace.h>
27 #include <net/netns/generic.h>
47 struct net init_net = {
60 * This is internal net namespace object. Please, don't use it
75 u64 __net_gen_cookie(struct net *net) in __net_gen_cookie() argument
78 u64 res = atomic64_read(&net->net_cookie); in __net_gen_cookie()
83 atomic64_cmpxchg(&net->net_cookie, 0, res); in __net_gen_cookie()
99 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() argument
[all …]
/kernel/linux/linux-4.19/drivers/net/
Dthunderbolt.c26 #include <net/ip6_checksum.h>
234 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() argument
238 struct tb_xdomain *xd = net->xd; in tbnet_login_response()
244 memcpy(reply.receiver_mac, net->dev->dev_addr, ETH_ALEN); in tbnet_login_response()
251 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() argument
255 struct tb_xdomain *xd = net->xd; in tbnet_login_request()
260 atomic_inc_return(&net->command_id)); in tbnet_login_request()
271 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() argument
275 struct tb_xdomain *xd = net->xd; in tbnet_logout_response()
280 atomic_inc_return(&net->command_id)); in tbnet_logout_response()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dthunderbolt.c23 #include <net/ip6_checksum.h>
231 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() argument
235 struct tb_xdomain *xd = net->xd; in tbnet_login_response()
241 memcpy(reply.receiver_mac, net->dev->dev_addr, ETH_ALEN); in tbnet_login_response()
248 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() argument
252 struct tb_xdomain *xd = net->xd; in tbnet_login_request()
257 atomic_inc_return(&net->command_id)); in tbnet_login_request()
268 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() argument
272 struct tb_xdomain *xd = net->xd; in tbnet_logout_response()
277 atomic_inc_return(&net->command_id)); in tbnet_logout_response()
[all …]
/kernel/linux/linux-5.10/net/tipc/
Dbcast.c2 * net/tipc/bcast.c: TIPC broadcast code
77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base() argument
79 return tipc_net(net)->bcbase; in tipc_bc_base()
86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu() argument
88 return tipc_link_mss(tipc_bc_sndlink(net)); in tipc_bcast_get_mtu()
91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast() argument
93 tipc_bc_base(net)->rcast_support = supp; in tipc_bcast_toggle_rcast()
96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold() argument
98 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_calc_bc_threshold()
99 int cluster_size = tipc_link_bc_peers(tipc_bc_sndlink(net)); in tipc_bcbase_calc_bc_threshold()
[all …]
Dbcast.h2 * net/tipc/bcast.h: Include file for TIPC broadcast code
81 int tipc_bcast_init(struct net *net);
82 void tipc_bcast_stop(struct net *net);
83 void tipc_bcast_add_peer(struct net *net, struct tipc_link *l,
85 void tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_bcl);
86 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id);
87 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id);
88 int tipc_bcast_get_mtu(struct net *net);
89 void tipc_bcast_toggle_rcast(struct net *net, bool supp);
90 int tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts,
[all …]
Dnode.h2 * net/tipc/node.h: Include file for TIPC node management routines
41 #include "net.h"
77 void tipc_node_stop(struct net *net);
78 bool tipc_node_get_id(struct net *net, u32 addr, u8 *id);
83 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
89 struct tipc_crypto *tipc_node_crypto_rx_by_addr(struct net *net, u32 addr);
91 u32 tipc_node_try_addr(struct net *net, u8 *id, u32 addr);
92 void tipc_node_check_dest(struct net *net, u32 onode, u8 *peer_id128,
97 void tipc_node_delete_links(struct net *net, int bearer_id);
98 void tipc_node_apply_property(struct net *net, struct tipc_bearer *b, int prop);
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dnet_namespace.c5 #include <net/net_namespace.h>
16 /* We don't hold a ref to net in order to auto-detach the link
21 struct net *net; member
22 struct list_head node; /* node in list of links attached to net */
55 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach() argument
60 run_array = rcu_replace_pointer(net->bpf.run_array[type], NULL, in netns_bpf_run_array_detach()
65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() argument
71 list_for_each_entry(pos, &net->bpf.links[type], node) { in link_index()
79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() argument
84 list_for_each(pos, &net->bpf.links[type]) in link_count()
[all …]
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_l4proto.h14 #include <net/netlink.h>
15 #include <net/netfilter/nf_conntrack.h>
16 #include <net/netns/generic.h>
51 struct net *net, void *data);
66 struct net *net,
71 struct net *net,
136 void nf_conntrack_generic_init_net(struct net *net);
137 void nf_conntrack_tcp_init_net(struct net *net);
138 void nf_conntrack_udp_init_net(struct net *net);
139 void nf_conntrack_gre_init_net(struct net *net);
[all …]
Dnf_conntrack_ecache.h8 #include <net/netfilter/nf_conntrack.h>
10 #include <net/net_namespace.h>
11 #include <net/netfilter/nf_conntrack_expect.h>
14 #include <net/netfilter/nf_conntrack_extend.h>
45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local
48 if (!ctmask && !expmask && net->ct.sysctl_events) { in nf_ct_ecache_ext_add()
79 int nf_conntrack_register_notifier(struct net *net,
81 void nf_conntrack_unregister_notifier(struct net *net,
108 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local
111 if (!rcu_access_pointer(net->ct.nf_conntrack_event_cb)) in nf_conntrack_event_cache()
[all …]
/kernel/linux/linux-4.19/include/net/netfilter/
Dnf_conntrack_ecache.h8 #include <net/netfilter/nf_conntrack.h>
10 #include <net/net_namespace.h>
11 #include <net/netfilter/nf_conntrack_expect.h>
14 #include <net/netfilter/nf_conntrack_extend.h>
45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local
48 if (!ctmask && !expmask && net->ct.sysctl_events) { in nf_ct_ecache_ext_add()
78 int nf_conntrack_register_notifier(struct net *net,
80 void nf_conntrack_unregister_notifier(struct net *net,
90 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local
93 if (!rcu_access_pointer(net->ct.nf_conntrack_event_cb)) in nf_conntrack_event_cache()
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dmain.c67 static int __net_init afs_net_init(struct net *net_ns) in afs_net_init()
70 struct afs_net *net = afs_net(net_ns); in afs_net_init() local
73 net->net = net_ns; in afs_net_init()
74 net->live = true; in afs_net_init()
75 generate_random_uuid((unsigned char *)&net->uuid); in afs_net_init()
77 INIT_WORK(&net->charge_preallocation_work, afs_charge_preallocation); in afs_net_init()
78 mutex_init(&net->socket_mutex); in afs_net_init()
80 net->cells = RB_ROOT; in afs_net_init()
81 init_rwsem(&net->cells_lock); in afs_net_init()
82 INIT_WORK(&net->cells_manager, afs_manage_cells); in afs_net_init()
[all …]
/kernel/linux/linux-5.10/net/
DKconfig6 menuconfig NET config
20 contained in the package net-tools, the location and version number
24 recommended to read the NET-HOWTO, available from
27 if NET
63 source "net/packet/Kconfig"
64 source "net/unix/Kconfig"
65 source "net/tls/Kconfig"
66 source "net/xfrm/Kconfig"
67 source "net/iucv/Kconfig"
68 source "net/smc/Kconfig"
[all …]
/kernel/linux/linux-4.19/net/ipv4/
Dfib_notifier.c7 #include <net/net_namespace.h>
8 #include <net/fib_notifier.h>
9 #include <net/netns/ipv4.h>
10 #include <net/ip_fib.h>
12 int call_fib4_notifier(struct notifier_block *nb, struct net *net, in call_fib4_notifier() argument
17 return call_fib_notifier(nb, net, event_type, info); in call_fib4_notifier()
20 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers() argument
26 net->ipv4.fib_seq++; in call_fib4_notifiers()
27 return call_fib_notifiers(net, event_type, info); in call_fib4_notifiers()
30 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read() argument
[all …]
/kernel/linux/linux-4.19/net/
DKconfig5 menuconfig NET config
19 contained in the package net-tools, the location and version number
23 recommended to read the NET-HOWTO, available from
26 if NET
56 source "net/packet/Kconfig"
57 source "net/unix/Kconfig"
58 source "net/tls/Kconfig"
59 source "net/xfrm/Kconfig"
60 source "net/iucv/Kconfig"
61 source "net/smc/Kconfig"
[all …]

12345678910>>...264