Home
last modified time | relevance | path

Searched refs:net (Results 1 - 25 of 6675) sorted by relevance

12345678910>>...267

/kernel/linux/linux-5.10/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/netn
59 struct net { global() struct
225 net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid) net_ns_get_ownership() argument
259 get_net(struct net *net) get_net() argument
265 maybe_get_net(struct net *net) maybe_get_net() argument
277 put_net(struct net *net) put_net() argument
289 check_net(const struct net *net) check_net() argument
298 get_net(struct net *net) get_net() argument
303 put_net(struct net *net) put_net() argument
307 maybe_get_net(struct net *net) maybe_get_net() argument
318 check_net(const struct net *net) check_net() argument
329 struct net *net; global() member
333 write_pnet(possible_net_t *pnet, struct net *net) write_pnet() argument
440 register_net_sysctl(struct net *net, const char *path, struct ctl_table *table) register_net_sysctl() argument
450 rt_genid_ipv4(const struct net *net) rt_genid_ipv4() argument
456 rt_genid_ipv6(const struct net *net) rt_genid_ipv6() argument
462 rt_genid_bump_ipv4(struct net *net) rt_genid_bump_ipv4() argument
468 rt_genid_bump_ipv6(struct net *net) rt_genid_bump_ipv6() argument
476 net_ieee802154_lowpan(struct net *net) net_ieee802154_lowpan() argument
483 rt_genid_bump_all(struct net *net) rt_genid_bump_all() argument
489 fnhe_genid(const struct net *net) fnhe_genid() argument
494 fnhe_genid_bump(struct net *net) fnhe_genid_bump() argument
[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/inetpeer.h>
135 struct net *fib_net;
200 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
202 __be32 fib_result_prefsrc(struct net *net, struct fib_result *res);
238 int call_fib4_notifiers(struct net *ne
287 fib_get_table(struct net *net, u32 id) fib_get_table() argument
301 fib_new_table(struct net *net, u32 id) fib_new_table() argument
306 fib_lookup(struct net *net, const struct flowi4 *flp, struct fib_result *res, unsigned int flags) fib_lookup() argument
326 fib4_has_custom_rules(const struct net *net) fib4_has_custom_rules() argument
336 fib4_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) fib4_rules_dump() argument
342 fib4_rules_seq_read(struct net *net) fib4_rules_seq_read() argument
347 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) fib4_rules_early_flow_dissect() argument
364 fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res, unsigned int flags) fib_lookup() argument
398 fib4_has_custom_rules(const struct net *net) fib4_has_custom_rules() argument
408 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) fib4_rules_early_flow_dissect() argument
439 fib_num_tclassid_users(struct net *net) fib_num_tclassid_users() argument
444 fib_num_tclassid_users(struct net *net) fib_num_tclassid_users() argument
539 fib_proc_init(struct net *net) fib_proc_init() argument
543 fib_proc_exit(struct net *net) fib_proc_exit() argument
[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>
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 fib6_routes_require_src_dec(struct net *net) fib6_routes_require_src_dec() argument
106 fib6_routes_require_src(const struct net *net) fib6_routes_require_src() argument
111 fib6_routes_require_src_inc(struct net *net) fib6_routes_require_src_inc() argument
116 fib6_routes_require_src_dec(struct net *net) fib6_routes_require_src_dec() argument
577 pol_lookup_func(pol_lookup_t lookup, struct net *net, struct fib6_table *table, struct flowi6 *fl6, const struct sk_buff *skb, int flags) pol_lookup_func() argument
593 fib6_has_custom_rules(const struct net *net) fib6_has_custom_rules() argument
605 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) fib6_rules_early_flow_dissect() argument
623 fib6_has_custom_rules(const struct net *net) fib6_has_custom_rules() argument
639 fib6_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) fib6_rules_dump() argument
644 fib6_rules_seq_read(struct net *net) fib6_rules_seq_read() argument
648 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) fib6_rules_early_flow_dissect() argument
[all...]
/kernel/linux/linux-6.6/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/netn
61 struct net { global() struct
221 net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid) net_ns_get_ownership() argument
258 get_net(struct net *net) get_net() argument
264 maybe_get_net(struct net *net) maybe_get_net() argument
277 put_net(struct net *net) put_net() argument
289 check_net(const struct net *net) check_net() argument
298 get_net(struct net *net) get_net() argument
303 put_net(struct net *net) put_net() argument
307 maybe_get_net(struct net *net) maybe_get_net() argument
318 check_net(const struct net *net) check_net() argument
327 __netns_tracker_alloc(struct net *net, netns_tracker *tracker, bool refcounted, gfp_t gfp) __netns_tracker_alloc() argument
339 netns_tracker_alloc(struct net *net, netns_tracker *tracker, gfp_t gfp) netns_tracker_alloc() argument
345 __netns_tracker_free(struct net *net, netns_tracker *tracker, bool refcounted) __netns_tracker_free() argument
355 get_net_track(struct net *net, netns_tracker *tracker, gfp_t gfp) get_net_track() argument
363 put_net_track(struct net *net, netns_tracker *tracker) put_net_track() argument
371 struct net *net; global() member
375 write_pnet(possible_net_t *pnet, struct net *net) write_pnet() argument
483 register_net_sysctl_sz(struct net *net, const char *path, struct ctl_table *table, size_t table_size) register_net_sysctl_sz() argument
493 rt_genid_ipv4(const struct net *net) rt_genid_ipv4() argument
499 rt_genid_ipv6(const struct net *net) rt_genid_ipv6() argument
505 rt_genid_bump_ipv4(struct net *net) rt_genid_bump_ipv4() argument
511 rt_genid_bump_ipv6(struct net *net) rt_genid_bump_ipv6() argument
519 net_ieee802154_lowpan(struct net *net) net_ieee802154_lowpan() argument
526 rt_genid_bump_all(struct net *net) rt_genid_bump_all() argument
532 fnhe_genid(const struct net *net) fnhe_genid() argument
537 fnhe_genid_bump(struct net *net) fnhe_genid_bump() argument
[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;
203 __be32 fib_info_update_nhc_saddr(struct net *net, struct fib_nh_common *nhc,
205 __be32 fib_result_prefsrc(struct net *net, struc
291 fib_get_table(struct net *net, u32 id) fib_get_table() argument
305 fib_new_table(struct net *net, u32 id) fib_new_table() argument
310 fib_lookup(struct net *net, const struct flowi4 *flp, struct fib_result *res, unsigned int flags) fib_lookup() argument
330 fib4_has_custom_rules(const struct net *net) fib4_has_custom_rules() argument
340 fib4_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) fib4_rules_dump() argument
346 fib4_rules_seq_read(struct net *net) fib4_rules_seq_read() argument
351 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) fib4_rules_early_flow_dissect() argument
368 fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res, unsigned int flags) fib_lookup() argument
402 fib4_has_custom_rules(const struct net *net) fib4_has_custom_rules() argument
412 fib4_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi4 *fl4, struct flow_keys *flkeys) fib4_rules_early_flow_dissect() argument
446 fib_num_tclassid_users(struct net *net) fib_num_tclassid_users() argument
451 fib_num_tclassid_users(struct net *net) fib_num_tclassid_users() argument
589 fib_proc_init(struct net *net) fib_proc_init() argument
593 fib_proc_exit(struct net *net) fib_proc_exit() argument
[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 fib6_routes_require_src_dec(struct net *net) fib6_routes_require_src_dec() argument
107 fib6_routes_require_src(const struct net *net) fib6_routes_require_src() argument
112 fib6_routes_require_src_inc(struct net *net) fib6_routes_require_src_inc() argument
117 fib6_routes_require_src_dec(struct net *net) fib6_routes_require_src_dec() argument
569 pol_lookup_func(pol_lookup_t lookup, struct net *net, struct fib6_table *table, struct flowi6 *fl6, const struct sk_buff *skb, int flags) pol_lookup_func() argument
585 fib6_has_custom_rules(const struct net *net) fib6_has_custom_rules() argument
597 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) fib6_rules_early_flow_dissect() argument
618 fib6_has_custom_rules(const struct net *net) fib6_has_custom_rules() argument
634 fib6_rules_dump(struct net *net, struct notifier_block *nb, struct netlink_ext_ack *extack) fib6_rules_dump() argument
639 fib6_rules_seq_read(struct net *net) fib6_rules_seq_read() argument
643 fib6_rules_early_flow_dissect(struct net *net, struct sk_buff *skb, struct flowi6 *fl6, struct flow_keys *flkeys) fib6_rules_early_flow_dissect() argument
[all...]
/kernel/linux/linux-6.6/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 in tbnet_logout_response()
291 tbnet_logout_request(struct tbnet *net) tbnet_logout_request() argument
308 start_login(struct tbnet *net) start_login() argument
321 stop_login(struct tbnet *net) stop_login() argument
372 tbnet_tear_down(struct tbnet *net, bool send_logout) tbnet_tear_down() argument
421 struct tbnet *net = data; tbnet_handle_packet() local
499 tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) tbnet_alloc_rx_buffers() argument
548 tbnet_get_tx_buffer(struct tbnet *net) tbnet_get_tx_buffer() argument
573 struct tbnet *net = netdev_priv(tf->dev); tbnet_tx_callback() local
582 tbnet_alloc_tx_buffers(struct tbnet *net) tbnet_alloc_tx_buffers() argument
624 struct tbnet *net = container_of(work, typeof(*net), connected_work); tbnet_connected_work() local
691 struct tbnet *net = container_of(work, typeof(*net), login_work.work); tbnet_login_work() local
726 struct tbnet *net = container_of(work, typeof(*net), disconnect_work); tbnet_disconnect_work() local
731 tbnet_check_frame(struct tbnet *net, const struct tbnet_frame *tf, const struct thunderbolt_ip_frame_header *hdr) tbnet_check_frame() argument
804 struct tbnet *net = container_of(napi, struct tbnet, napi); tbnet_poll() local
911 struct tbnet *net = data; tbnet_start_poll() local
918 struct tbnet *net = netdev_priv(dev); tbnet_open() local
972 struct tbnet *net = netdev_priv(dev); tbnet_stop() local
989 tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb, struct tbnet_frame **frames, u32 frame_count) tbnet_xmit_csum_and_map() argument
1106 struct tbnet *net = netdev_priv(dev); tbnet_start_xmit() local
1245 struct tbnet *net = netdev_priv(dev); tbnet_get_stats64() local
1270 const struct tbnet *net = netdev_priv(dev); tbnet_generate_mac() local
1291 struct tbnet *net; tbnet_probe() local
1359 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_remove() local
1374 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_suspend() local
1389 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_resume() local
[all...]
/kernel/linux/linux-5.10/net/tipc/
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 *ne
112 tipc_bcast_lock(struct net *net) tipc_bcast_lock() argument
117 tipc_bcast_unlock(struct net *net) tipc_bcast_unlock() argument
122 tipc_bc_sndlink(struct net *net) tipc_bc_sndlink() argument
[all...]
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) in tipc_bcast_toggle_rcast()
96 tipc_bcbase_calc_bc_threshold(struct net *net) tipc_bcbase_calc_bc_threshold() argument
107 tipc_bcbase_select_primary(struct net *net) tipc_bcbase_select_primary() argument
147 tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) tipc_bcast_inc_bearer_dst_cnt() argument
157 tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) tipc_bcast_dec_bearer_dst_cnt() argument
177 tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) tipc_bcbase_xmit() argument
212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) tipc_bcast_select_xmit_method() argument
259 tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, u16 *cong_link_cnt) tipc_bcast_xmit() argument
288 tipc_rcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_rcast_xmit() argument
317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) tipc_mcast_send_sync() argument
378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_mcast_xmit() argument
436 tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb) tipc_bcast_rcv() argument
470 tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr) tipc_bcast_ack_rcv() argument
498 tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr, struct sk_buff_head *retrq) tipc_bcast_sync_rcv() argument
535 tipc_bcast_add_peer(struct net *net, struct tipc_link *uc_l, struct sk_buff_head *xmitq) tipc_bcast_add_peer() argument
551 tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_l) tipc_bcast_remove_peer() argument
572 tipc_bclink_reset_stats(struct net *net, struct tipc_link *l) tipc_bclink_reset_stats() argument
583 tipc_bc_link_set_queue_limits(struct net *net, u32 max_win) tipc_bc_link_set_queue_limits() argument
599 tipc_bc_link_set_broadcast_mode(struct net *net, u32 bc_mode) tipc_bc_link_set_broadcast_mode() argument
632 tipc_bc_link_set_broadcast_ratio(struct net *net, u32 bc_ratio) tipc_bc_link_set_broadcast_ratio() argument
650 tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]) tipc_nl_bc_link_set() argument
689 tipc_bcast_init(struct net *net) tipc_bcast_init() argument
722 tipc_bcast_stop(struct net *net) tipc_bcast_stop() argument
761 tipc_bcast_get_mode(struct net *net) tipc_bcast_get_mode() argument
777 tipc_bcast_get_broadcast_ratio(struct net *net) tipc_bcast_get_broadcast_ratio() argument
784 tipc_mcast_filter_msg(struct net *net, struct sk_buff_head *defq, struct sk_buff_head *inputq) tipc_mcast_filter_msg() argument
[all...]
H A Dmonitor.h2 * net/tipc/monitor.h
60 int tipc_mon_create(struct net *net, int bearer_id);
61 void tipc_mon_delete(struct net *net, int bearer_id);
63 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id);
64 void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id);
65 void tipc_mon_prep(struct net *ne
[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, u3
[all...]
/kernel/linux/linux-6.6/net/tipc/
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 *ne
112 tipc_bcast_lock(struct net *net) tipc_bcast_lock() argument
117 tipc_bcast_unlock(struct net *net) tipc_bcast_unlock() argument
122 tipc_bc_sndlink(struct net *net) tipc_bc_sndlink() argument
[all...]
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) in tipc_bcast_toggle_rcast()
96 tipc_bcbase_calc_bc_threshold(struct net *net) tipc_bcbase_calc_bc_threshold() argument
107 tipc_bcbase_select_primary(struct net *net) tipc_bcbase_select_primary() argument
147 tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) tipc_bcast_inc_bearer_dst_cnt() argument
157 tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) tipc_bcast_dec_bearer_dst_cnt() argument
177 tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) tipc_bcbase_xmit() argument
212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) tipc_bcast_select_xmit_method() argument
259 tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, u16 *cong_link_cnt) tipc_bcast_xmit() argument
288 tipc_rcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_rcast_xmit() argument
317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) tipc_mcast_send_sync() argument
378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_mcast_xmit() argument
436 tipc_bcast_rcv(struct net *net, struct tipc_link *l, struct sk_buff *skb) tipc_bcast_rcv() argument
470 tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr) tipc_bcast_ack_rcv() argument
498 tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, struct tipc_msg *hdr, struct sk_buff_head *retrq) tipc_bcast_sync_rcv() argument
535 tipc_bcast_add_peer(struct net *net, struct tipc_link *uc_l, struct sk_buff_head *xmitq) tipc_bcast_add_peer() argument
551 tipc_bcast_remove_peer(struct net *net, struct tipc_link *rcv_l) tipc_bcast_remove_peer() argument
572 tipc_bclink_reset_stats(struct net *net, struct tipc_link *l) tipc_bclink_reset_stats() argument
583 tipc_bc_link_set_queue_limits(struct net *net, u32 max_win) tipc_bc_link_set_queue_limits() argument
599 tipc_bc_link_set_broadcast_mode(struct net *net, u32 bc_mode) tipc_bc_link_set_broadcast_mode() argument
632 tipc_bc_link_set_broadcast_ratio(struct net *net, u32 bc_ratio) tipc_bc_link_set_broadcast_ratio() argument
650 tipc_nl_bc_link_set(struct net *net, struct nlattr *attrs[]) tipc_nl_bc_link_set() argument
689 tipc_bcast_init(struct net *net) tipc_bcast_init() argument
722 tipc_bcast_stop(struct net *net) tipc_bcast_stop() argument
761 tipc_bcast_get_mode(struct net *net) tipc_bcast_get_mode() argument
777 tipc_bcast_get_broadcast_ratio(struct net *net) tipc_bcast_get_broadcast_ratio() argument
784 tipc_mcast_filter_msg(struct net *net, struct sk_buff_head *defq, struct sk_buff_head *inputq) tipc_mcast_filter_msg() argument
[all...]
H A Dmonitor.h2 * net/tipc/monitor.h
60 int tipc_mon_create(struct net *net, int bearer_id);
61 void tipc_mon_delete(struct net *net, int bearer_id);
63 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id);
64 void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id);
65 void tipc_mon_prep(struct net *ne
[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, u3
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A 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 in tbnet_logout_response()
282 tbnet_logout_request(struct tbnet *net) tbnet_logout_request() argument
299 start_login(struct tbnet *net) start_login() argument
310 stop_login(struct tbnet *net) stop_login() argument
357 tbnet_tear_down(struct tbnet *net, bool send_logout) tbnet_tear_down() argument
394 struct tbnet *net = data; tbnet_handle_packet() local
466 tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) tbnet_alloc_rx_buffers() argument
512 tbnet_get_tx_buffer(struct tbnet *net) tbnet_get_tx_buffer() argument
537 struct tbnet *net = netdev_priv(tf->dev); tbnet_tx_callback() local
546 tbnet_alloc_tx_buffers(struct tbnet *net) tbnet_alloc_tx_buffers() argument
586 struct tbnet *net = container_of(work, typeof(*net), connected_work); tbnet_connected_work() local
636 struct tbnet *net = container_of(work, typeof(*net), login_work.work); tbnet_login_work() local
664 struct tbnet *net = container_of(work, typeof(*net), disconnect_work); tbnet_disconnect_work() local
669 tbnet_check_frame(struct tbnet *net, const struct tbnet_frame *tf, const struct thunderbolt_ip_frame_header *hdr) tbnet_check_frame() argument
742 struct tbnet *net = container_of(napi, struct tbnet, napi); tbnet_poll() local
843 struct tbnet *net = data; tbnet_start_poll() local
850 struct tbnet *net = netdev_priv(dev); tbnet_open() local
887 struct tbnet *net = netdev_priv(dev); tbnet_stop() local
902 tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb, struct tbnet_frame **frames, u32 frame_count) tbnet_xmit_csum_and_map() argument
1013 struct tbnet *net = netdev_priv(dev); tbnet_start_xmit() local
1149 struct tbnet *net = netdev_priv(dev); tbnet_get_stats64() local
1174 const struct tbnet *net = netdev_priv(dev); tbnet_generate_mac() local
1193 struct tbnet *net; tbnet_probe() local
1261 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_remove() local
1276 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_suspend() local
1291 struct tbnet *net = tb_service_get_drvdata(svc); tbnet_resume() local
[all...]
/kernel/linux/linux-6.6/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
82 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() argument
88 old_ng = rcu_dereference_protected(net->gen, in net_assign_generic()
102 * The net_generic explores the net in net_assign_generic()
119 ops_init(const struct pernet_operations *ops, struct net *net) ops_init() argument
156 struct net *net; ops_pre_exit_list() local
167 struct net *net; ops_exit_list() local
181 struct net *net; ops_free_list() local
189 alloc_netid(struct net *net, struct net *peer, int reqid) alloc_netid() argument
207 net_eq_idr(int id, void *net, void *peer) net_eq_idr() argument
215 __peernet2id(const struct net *net, struct net *peer) __peernet2id() argument
233 peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) peernet2id_alloc() argument
271 peernet2id(const struct net *net, struct net *peer) peernet2id() argument
286 peernet_has_id(const struct net *net, struct net *peer) peernet_has_id() argument
291 get_net_ns_by_id(const struct net *net, int id) get_net_ns_by_id() argument
309 preinit_net(struct net *net) preinit_net() argument
317 setup_net(struct net *net, struct user_namespace *user_ns) setup_net() argument
372 net_defaults_init_net(struct net *net) net_defaults_init_net() argument
410 struct net *net = NULL; net_alloc() local
442 net_free(struct net *net) net_free() argument
456 struct net *net = (struct net *)p; net_drop_ns() local
466 struct net *net; copy_net_ns() local
518 net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid) net_ns_get_ownership() argument
536 unhash_nsid(struct net *net, struct net *last) unhash_nsid() argument
569 struct net *net, *tmp, *last; cleanup_net() local
657 __put_net(struct net *net) __put_net() argument
681 struct net *net = ERR_PTR(-EINVAL); get_net_ns_by_fd() local
701 struct net *net; get_net_ns_by_pid() local
720 net_ns_net_init(struct net *net) net_ns_net_init() argument
728 net_ns_net_exit(struct net *net) net_ns_net_exit() argument
749 struct net *net = sock_net(skb->sk); rtnl_net_newid() local
893 struct net *net = sock_net(skb->sk); rtnl_net_getid() local
1017 struct net *net; rtnl_valid_dump_net_req() local
1073 rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid, struct nlmsghdr *nlh, gfp_t gfp) rtnl_net_notifyid() argument
1155 struct net *net; __register_pernet_operations() local
1182 struct net *net; __unregister_pernet_operations() local
1351 struct net *net = NULL; netns_get() local
1376 struct net *net = to_net_ns(ns); netns_install() local
[all...]
/kernel/linux/linux-5.10/net/core/
H A 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 in __net_gen_cookie()
102 net_assign_generic(struct net *net, unsigned int id, void *data) net_assign_generic() argument
139 ops_init(const struct pernet_operations *ops, struct net *net) ops_init() argument
173 ops_free(const struct pernet_operations *ops, struct net *net) ops_free() argument
183 struct net *net; ops_pre_exit_list() local
194 struct net *net; ops_exit_list() local
208 struct net *net; ops_free_list() local
216 alloc_netid(struct net *net, struct net *peer, int reqid) alloc_netid() argument
234 net_eq_idr(int id, void *net, void *peer) net_eq_idr() argument
242 __peernet2id(const struct net *net, struct net *peer) __peernet2id() argument
260 peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) peernet2id_alloc() argument
298 peernet2id(const struct net *net, struct net *peer) peernet2id() argument
313 peernet_has_id(const struct net *net, struct net *peer) peernet_has_id() argument
318 get_net_ns_by_id(const struct net *net, int id) get_net_ns_by_id() argument
337 setup_net(struct net *net, struct user_namespace *user_ns) setup_net() argument
387 net_defaults_init_net(struct net *net) net_defaults_init_net() argument
423 struct net *net = NULL; net_alloc() local
455 net_free(struct net *net) net_free() argument
472 struct net *net; copy_net_ns() local
522 net_ns_get_ownership(const struct net *net, kuid_t *uid, kgid_t *gid) net_ns_get_ownership() argument
540 unhash_nsid(struct net *net, struct net *last) unhash_nsid() argument
573 struct net *net, *tmp, *last; cleanup_net() local
661 __put_net(struct net *net) __put_net() argument
685 struct net *net; get_net_ns_by_fd() local
712 struct net *net; get_net_ns_by_pid() local
731 net_ns_net_init(struct net *net) net_ns_net_init() argument
739 net_ns_net_exit(struct net *net) net_ns_net_exit() argument
760 struct net *net = sock_net(skb->sk); rtnl_net_newid() local
904 struct net *net = sock_net(skb->sk); rtnl_net_getid() local
1028 struct net *net; rtnl_valid_dump_net_req() local
1084 rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid, struct nlmsghdr *nlh, gfp_t gfp) rtnl_net_notifyid() argument
1162 struct net *net; __register_pernet_operations() local
1192 struct net *net; __unregister_pernet_operations() local
1370 struct net *net = NULL; netns_get() local
1395 struct net *net = to_net_ns(ns); netns_install() local
[all...]
/kernel/linux/linux-5.10/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 *ne
173 nf_l4proto_log_invalid(const struct sk_buff *skb, struct net *net, u16 pf, u8 protonum, const char *fmt, ...) nf_l4proto_log_invalid() argument
182 nf_generic_pernet(struct net *net) nf_generic_pernet() argument
187 nf_tcp_pernet(struct net *net) nf_tcp_pernet() argument
192 nf_udp_pernet(struct net *net) nf_udp_pernet() argument
197 nf_icmp_pernet(struct net *net) nf_icmp_pernet() argument
202 nf_icmpv6_pernet(struct net *net) nf_icmpv6_pernet() argument
209 nf_dccp_pernet(struct net *net) nf_dccp_pernet() argument
216 nf_sctp_pernet(struct net *net) nf_sctp_pernet() argument
223 nf_gre_pernet(struct net *net) nf_gre_pernet() argument
[all...]
H A 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 *ne
108 struct net *net = nf_ct_net(ct); nf_conntrack_event_cache() local
127 const struct net *net = nf_ct_net(ct); nf_conntrack_event_report() local
142 const struct net *net = nf_ct_net(ct); nf_conntrack_event() local
189 nf_conntrack_ecache_pernet_init(struct net *net) nf_conntrack_ecache_pernet_init() argument
193 nf_conntrack_ecache_pernet_fini(struct net *net) nf_conntrack_ecache_pernet_fini() argument
208 nf_conntrack_ecache_delayed_work(struct net *net) nf_conntrack_ecache_delayed_work() argument
218 nf_conntrack_ecache_work(struct net *net) nf_conntrack_ecache_work() argument
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A 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, enu argument
79 link_count(struct net *net, enum netns_bpf_attach_type type) link_count() argument
89 fill_prog_array(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog_array *prog_array) fill_prog_array() argument
107 struct net *net; bpf_netns_link_release() local
171 struct net *net; bpf_netns_link_update_prog() local
209 struct net *net; bpf_netns_link_fill_info() local
245 __netns_bpf_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr, struct net *net, enum netns_bpf_attach_type type) __netns_bpf_prog_query() argument
274 struct net *net; netns_bpf_prog_query() local
301 struct net *net; netns_bpf_prog_attach() local
363 __netns_bpf_prog_detach(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog *old) __netns_bpf_prog_detach() argument
420 netns_bpf_link_attach(struct net *net, struct bpf_link *link, enum netns_bpf_attach_type type) netns_bpf_link_attach() argument
482 struct net *net; netns_bpf_link_create() local
528 netns_bpf_pernet_init(struct net *net) netns_bpf_pernet_init() argument
538 netns_bpf_pernet_pre_exit(struct net *net) netns_bpf_pernet_pre_exit() argument
[all...]
/kernel/linux/linux-6.6/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, enu argument
80 link_count(struct net *net, enum netns_bpf_attach_type type) link_count() argument
90 fill_prog_array(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog_array *prog_array) fill_prog_array() argument
108 struct net *net; bpf_netns_link_release() local
172 struct net *net; bpf_netns_link_update_prog() local
210 struct net *net; bpf_netns_link_fill_info() local
246 __netns_bpf_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr, struct net *net, enum netns_bpf_attach_type type) __netns_bpf_prog_query() argument
275 struct net *net; netns_bpf_prog_query() local
302 struct net *net; netns_bpf_prog_attach() local
364 __netns_bpf_prog_detach(struct net *net, enum netns_bpf_attach_type type, struct bpf_prog *old) __netns_bpf_prog_detach() argument
421 netns_bpf_link_attach(struct net *net, struct bpf_link *link, enum netns_bpf_attach_type type) netns_bpf_link_attach() argument
483 struct net *net; netns_bpf_link_create() local
529 netns_bpf_pernet_init(struct net *net) netns_bpf_pernet_init() argument
539 netns_bpf_pernet_pre_exit(struct net *net) netns_bpf_pernet_pre_exit() argument
[all...]
/kernel/linux/linux-5.10/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 in afs_net_init()
152 struct afs_net *net = afs_net(net_ns); afs_net_exit() local
[all...]
/kernel/linux/linux-6.6/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 in afs_net_init()
152 struct afs_net *net = afs_net(net_ns); afs_net_exit() local
[all...]
/kernel/linux/linux-6.6/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 *ne
186 nf_generic_pernet(struct net *net) nf_generic_pernet() argument
191 nf_tcp_pernet(struct net *net) nf_tcp_pernet() argument
196 nf_udp_pernet(struct net *net) nf_udp_pernet() argument
201 nf_icmp_pernet(struct net *net) nf_icmp_pernet() argument
206 nf_icmpv6_pernet(struct net *net) nf_icmpv6_pernet() argument
227 nf_dccp_pernet(struct net *net) nf_dccp_pernet() argument
234 nf_sctp_pernet(struct net *net) nf_sctp_pernet() argument
241 nf_gre_pernet(struct net *net) nf_gre_pernet() argument
[all...]

Completed in 16 milliseconds

12345678910>>...267