Home
last modified time | relevance | path

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

12345678910>>...205

/openbmc/linux/drivers/net/ethernet/
H A DKconfig8 depends on NET
21 source "drivers/net/ethernet/3com/Kconfig"
22 source "drivers/net/ethernet/actions/Kconfig"
23 source "drivers/net/ethernet/adaptec/Kconfig"
24 source "drivers/net/ethernet/aeroflex/Kconfig"
25 source "drivers/net/ethernet/agere/Kconfig"
26 source "drivers/net/ethernet/alacritech/Kconfig"
27 source "drivers/net/ethernet/allwinner/Kconfig"
28 source "drivers/net/ethernet/alteon/Kconfig"
29 source "drivers/net/ethernet/altera/Kconfig"
[all …]
/openbmc/linux/include/net/
H A 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 …]
H A Dip_fib.h15 #include <net/flow.h>
18 #include <net/fib_notifier.h>
19 #include <net/fib_rules.h>
20 #include <net/inet_dscp.h>
21 #include <net/inetpeer.h>
138 struct net *fib_net;
204 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
206 __be32 fib_result_prefsrc(struct net *net, struct fib_result *res);
243 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type,
246 int __net_init fib4_notifier_init(struct net *net);
[all …]
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>
97 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
102 static inline void fib6_routes_require_src_inc(struct net *net) {} in fib6_routes_require_src_inc() argument
103 static inline void fib6_routes_require_src_dec(struct net *net) {} in fib6_routes_require_src_dec() argument
107 static inline bool fib6_routes_require_src(const struct net *net) in fib6_routes_require_src() argument
[all …]
H A Dl3mdev.h3 * include/net/l3mdev.h - L3 master device API
10 #include <net/dst.h>
11 #include <net/fib_rules.h>
21 typedef int (*lookup_by_table_id_t)(struct net *net, u32 table_d);
56 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, struct net *net,
59 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl,
62 void l3mdev_update_flow(struct net *net, struct flowi *fl);
76 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() argument
84 dev = dev_get_by_index_rcu(net, ifindex); in l3mdev_master_ifindex_by_index()
119 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex);
[all …]
H A Dipv6_stubs.h8 #include <net/dst.h>
9 #include <net/flow.h>
10 #include <net/neighbour.h>
11 #include <net/sock.h>
13 /* structs from net/ip6_fib.h */
27 struct dst_entry *(*ipv6_dst_lookup_flow)(struct net *net,
33 struct fib6_table *(*fib6_get_table)(struct net *net, u32 id);
34 int (*fib6_lookup)(struct net *net, int oif, struct flowi6 *fl6,
36 int (*fib6_table_lookup)(struct net *net, struct fib6_table *table,
39 void (*fib6_select_path)(const struct net *net, struct fib6_result *res,
[all …]
/openbmc/qemu/hw/net/
H A Dvhost_net.c2 * vhost-net support
17 #include "net/net.h"
18 #include "net/tap.h"
19 #include "net/vhost-user.h"
20 #include "net/vhost-vdpa.h"
23 #include "hw/virtio/virtio-net.h"
24 #include "net/vhost_net.h"
30 #include <net/if.h>
99 static const int *vhost_net_get_feature_bits(struct vhost_net *net) in vhost_net_get_feature_bits() argument
103 switch (net->nc->info->type) { in vhost_net_get_feature_bits()
[all …]
/openbmc/linux/drivers/net/thunderbolt/
H A Dmain.c24 #include <net/ip6_checksum.h>
240 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() argument
244 struct tb_xdomain *xd = net->xd; in tbnet_login_response()
250 memcpy(reply.receiver_mac, net->dev->dev_addr, ETH_ALEN); in tbnet_login_response()
257 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() argument
261 struct tb_xdomain *xd = net->xd; in tbnet_login_request()
266 atomic_inc_return(&net->command_id)); in tbnet_login_request()
269 request.transmit_path = net->local_transmit_path; in tbnet_login_request()
277 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() argument
281 struct tb_xdomain *xd = net->xd; in tbnet_logout_response()
[all …]
/openbmc/linux/net/core/
H A Dnet_namespace.c25 #include <net/sock.h>
26 #include <net/netlink.h>
27 #include <net/net_namespace.h>
28 #include <net/netns/generic.h>
48 struct net init_net;
55 * This is internal net namespace object. Please, don't use it
85 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() argument
91 old_ng = rcu_dereference_protected(net->gen, in net_assign_generic()
105 * The net_generic explores the net->gen array inside rcu in net_assign_generic()
106 * read section. Besides once set the net->gen->ptr[x] in net_assign_generic()
[all …]
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, in call_fib_notifiers() argument
32 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in call_fib_notifiers()
40 static unsigned int fib_seq_sum(struct net *net) in fib_seq_sum() argument
42 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_seq_sum()
51 fib_seq += ops->fib_seq_read(net); in fib_seq_sum()
60 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump() argument
63 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_net_dump()
[all …]
/openbmc/linux/net/tipc/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/kernel/bpf/
H A Dnet_namespace.c6 #include <net/net_namespace.h>
17 /* We don't hold a ref to net in order to auto-detach the link
22 struct net *net; member
23 struct list_head node; /* node in list of links attached to net */
56 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach() argument
61 run_array = rcu_replace_pointer(net->bpf.run_array[type], NULL, in netns_bpf_run_array_detach()
66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() argument
72 list_for_each_entry(pos, &net->bpf.links[type], node) { in link_index()
80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() argument
85 list_for_each(pos, &net->bpf.links[type]) in link_count()
[all …]
/openbmc/linux/net/mptcp/
H A Dctrl.c11 #include <net/net_namespace.h>
12 #include <net/netns/generic.h>
16 #define MPTCP_SYSCTL_PATH "net/mptcp"
38 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet() argument
40 return net_generic(net, mptcp_pernet_id); in mptcp_get_pernet()
43 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled() argument
45 return mptcp_get_pernet(net)->mptcp_enabled; in mptcp_is_enabled()
48 unsigned int mptcp_get_add_addr_timeout(const struct net *net) in mptcp_get_add_addr_timeout() argument
50 return mptcp_get_pernet(net)->add_addr_timeout; in mptcp_get_add_addr_timeout()
53 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled() argument
[all …]
/openbmc/linux/fs/afs/
H A 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 …]
/openbmc/linux/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 $CLIENT_NS link set dev link0 \
[all …]
/openbmc/linux/include/net/netfilter/
H A 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 …]
H A Dnf_synproxy.h7 #include <net/ip6_checksum.h>
8 #include <net/ip6_route.h>
9 #include <net/tcp.h>
11 #include <net/netfilter/nf_conntrack_seqadj.h>
12 #include <net/netfilter/nf_conntrack_synproxy.h>
30 static inline struct synproxy_net *synproxy_pernet(struct net *net) in synproxy_pernet() argument
32 return net_generic(net, synproxy_net_id); in synproxy_pernet()
52 void synproxy_send_client_synack(struct net *net, const struct sk_buff *skb,
56 bool synproxy_recv_client_ack(struct net *net,
65 int nf_synproxy_ipv4_init(struct synproxy_net *snet, struct net *net);
[all …]
/openbmc/linux/net/
H A 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
68 source "net/packet/Kconfig"
69 source "net/unix/Kconfig"
70 source "net/tls/Kconfig"
71 source "net/xfrm/Kconfig"
72 source "net/iucv/Kconfig"
73 source "net/smc/Kconfig"
[all …]
/openbmc/linux/net/xfrm/
H A Dxfrm_sysctl.c4 #include <net/net_namespace.h>
5 #include <net/xfrm.h>
7 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init() argument
9 net->xfrm.sysctl_aevent_etime = XFRM_AE_ETIME; in __xfrm_sysctl_init()
10 net->xfrm.sysctl_aevent_rseqth = XFRM_AE_SEQT_SIZE; in __xfrm_sysctl_init()
11 net->xfrm.sysctl_larval_drop = 1; in __xfrm_sysctl_init()
12 net->xfrm.sysctl_acq_expires = 30; in __xfrm_sysctl_init()
44 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init() argument
49 __xfrm_sysctl_init(net); in xfrm_sysctl_init()
54 table[0].data = &net->xfrm.sysctl_aevent_etime; in xfrm_sysctl_init()
[all …]
/openbmc/linux/fs/proc/
H A Dproc_net.c3 * linux/fs/proc/net.c
9 * proc net directory handling functions
24 #include <net/net_namespace.h>
29 static inline struct net *PDE_NET(struct proc_dir_entry *pde) in PDE_NET()
34 static struct net *get_proc_net(const struct inode *inode) in get_proc_net()
43 struct net *net; in seq_open_net() local
50 net = get_proc_net(inode); in seq_open_net()
51 if (!net) in seq_open_net()
56 put_net(net); in seq_open_net()
60 p->net = net; in seq_open_net()
[all …]
/openbmc/linux/drivers/net/wireless/
H A DKconfig9 depends on NET
21 source "drivers/net/wireless/admtek/Kconfig"
22 source "drivers/net/wireless/ath/Kconfig"
23 source "drivers/net/wireless/atmel/Kconfig"
24 source "drivers/net/wireless/broadcom/Kconfig"
25 source "drivers/net/wireless/cisco/Kconfig"
26 source "drivers/net/wireless/intel/Kconfig"
27 source "drivers/net/wireless/intersil/Kconfig"
28 source "drivers/net/wireless/marvell/Kconfig"
29 source "drivers/net/wireless/mediatek/Kconfig"
[all …]
/openbmc/linux/net/ipv4/
H A Dfib_notifier.c7 #include <net/net_namespace.h>
8 #include <net/fib_notifier.h>
9 #include <net/ip_fib.h>
19 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers() argument
25 net->ipv4.fib_seq++; in call_fib4_notifiers()
26 return call_fib_notifiers(net, event_type, info); in call_fib4_notifiers()
29 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read() argument
33 return net->ipv4.fib_seq + fib4_rules_seq_read(net); in fib4_seq_read()
36 static int fib4_dump(struct net *net, struct notifier_block *nb, in fib4_dump() argument
41 err = fib4_rules_dump(net, nb, extack); in fib4_dump()
[all …]
/openbmc/linux/net/can/
H A Dproc.c79 static void can_init_stats(struct net *net) in can_init_stats() argument
81 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_init_stats()
82 struct can_rcv_lists_stats *rcv_lists_stats = net->can.rcv_lists_stats; in can_init_stats()
117 struct net *net = from_timer(net, t, can.stattimer); in can_stat_update() local
118 struct can_pkg_stats *pkg_stats = net->can.pkg_stats; in can_stat_update()
123 can_init_stats(net); in can_stat_update()
127 can_init_stats(net); in can_stat_update()
131 can_init_stats(net); in can_stat_update()
135 can_init_stats(net); in can_stat_update()
139 can_init_stats(net); in can_stat_update()
[all …]

12345678910>>...205