Home
last modified time | relevance | path

Searched defs:net (Results 126 – 150 of 814) sorted by relevance

12345678910>>...33

/linux-5.10/net/tipc/
Dcore.h95 struct net *net; member
156 static inline struct tipc_net *tipc_net(struct net *net) in tipc_net()
161 static inline int tipc_netid(struct net *net) in tipc_netid()
166 static inline struct list_head *tipc_nodes(struct net *net) in tipc_nodes()
171 static inline struct name_table *tipc_name_table(struct net *net) in tipc_name_table()
176 static inline struct tipc_topsrv *tipc_topsrv(struct net *net) in tipc_topsrv()
211 static inline u32 tipc_net_hash_mixes(struct net *net, int tn_rand) in tipc_net_hash_mixes()
Dcore.c53 static int __net_init tipc_init_net(struct net *net) in tipc_init_net()
109 static void __net_exit tipc_exit_net(struct net *net) in tipc_exit_net()
126 static void __net_exit tipc_pernet_pre_exit(struct net *net) in tipc_pernet_pre_exit()
Dname_table.c317 static struct publication *tipc_service_insert_publ(struct net *net, in tipc_service_insert_publ()
444 static struct tipc_service *tipc_service_find(struct net *net, u32 type) in tipc_service_find()
458 struct publication *tipc_nametbl_insert_publ(struct net *net, u32 type, in tipc_nametbl_insert_publ()
485 struct publication *tipc_nametbl_remove_publ(struct net *net, u32 type, in tipc_nametbl_remove_publ()
545 u32 tipc_nametbl_translate(struct net *net, u32 type, u32 instance, u32 *dnode) in tipc_nametbl_translate()
601 bool tipc_nametbl_lookup(struct net *net, u32 type, u32 instance, u32 scope, in tipc_nametbl_lookup()
642 void tipc_nametbl_mc_lookup(struct net *net, u32 type, u32 lower, u32 upper, in tipc_nametbl_mc_lookup()
670 void tipc_nametbl_lookup_dst_nodes(struct net *net, u32 type, u32 lower, in tipc_nametbl_lookup_dst_nodes()
695 void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp, in tipc_nametbl_build_group()
724 struct publication *tipc_nametbl_publish(struct net *net, u32 type, u32 lower, in tipc_nametbl_publish()
[all …]
/linux-5.10/net/ipv4/
Dip_output.c99 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_local_out()
120 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_out()
151 struct net *net = sock_net(sk); in ip_build_and_send_pkt() local
187 static int ip_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output2()
242 static int ip_finish_output_gso(struct net *net, struct sock *sk, in ip_finish_output_gso()
290 static int __ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_finish_output()
311 static int ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output()
327 static int ip_mc_finish_output(struct net *net, struct sock *sk, in ip_mc_finish_output()
361 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_mc_output()
423 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_output()
[all …]
Draw_diag.c37 static struct sock *raw_lookup(struct net *net, struct sock *from, in raw_lookup()
58 static struct sock *raw_sock_get(struct net *net, const struct inet_diag_req_v2 *r) in raw_sock_get()
96 struct net *net; in raw_diag_dump_one() local
146 struct net *net = sock_net(skb->sk); in raw_diag_dump() local
204 struct net *net = sock_net(in_skb->sk); in raw_diag_destroy() local
Darp.c397 struct net *net = dev_net(in_dev->dev); in arp_ignore() local
436 struct net *net = dev_net(dev); in arp_filter() local
630 static int arp_xmit_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in arp_xmit_finish()
647 static bool arp_is_garp(struct net *net, struct net_device *dev, in arp_is_garp()
677 static int arp_process(struct net *net, struct sock *sk, struct sk_buff *skb) in arp_process()
988 static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on) in arp_req_set_proxy()
1001 static int arp_req_set_public(struct net *net, struct arpreq *r, in arp_req_set_public()
1024 static int arp_req_set(struct net *net, struct arpreq *r, in arp_req_set()
1139 static int arp_req_delete_public(struct net *net, struct arpreq *r, in arp_req_delete_public()
1154 static int arp_req_delete(struct net *net, struct arpreq *r, in arp_req_delete()
[all …]
Droute.c364 static int __net_init ip_rt_do_proc_init(struct net *net) in ip_rt_do_proc_init()
396 static void __net_exit ip_rt_do_proc_exit(struct net *net) in ip_rt_do_proc_exit()
427 void rt_cache_flush(struct net *net) in rt_cache_flush()
507 void __ip_select_ident(struct net *net, struct iphdr *iph, int segs) in __ip_select_ident()
525 static void __build_flow_key(const struct net *net, struct flowi4 *fl4, in __build_flow_key()
549 const struct net *net = dev_net(skb->dev); in build_skb_flow_key() local
745 struct net *net; in __ip_do_redirect() local
826 struct net *net = dev_net(skb->dev); in ip_do_redirect() local
877 struct net *net; in ip_rt_send_redirect() local
946 struct net *net; in ip_error() local
[all …]
/linux-5.10/net/ipv6/
Dseg6.c95 struct net *net = genl_info_net(info); in seg6_genl_sethmac() local
177 struct net *net = genl_info_net(info); in seg6_genl_set_tunsrc() local
206 struct net *net = genl_info_net(info); in seg6_genl_get_tunsrc() local
275 struct net *net = sock_net(cb->skb->sk); in seg6_genl_dumphmac_start() local
361 static int __net_init seg6_net_init(struct net *net) in seg6_net_init()
386 static void __net_exit seg6_net_exit(struct net *net) in seg6_net_exit()
Dip6_vti.c89 vti6_tnl_lookup(struct net *net, const struct in6_addr *remote, in vti6_tnl_lookup()
184 struct net *net = dev_net(dev); in vti6_tnl_create2() local
204 static struct ip6_tnl *vti6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in vti6_tnl_create()
255 static struct ip6_tnl *vti6_locate(struct net *net, struct __ip6_tnl_parm *p, in vti6_locate()
608 struct net *net = dev_net(skb->dev); in vti6_err() local
729 struct net *net = dev_net(t->dev); in vti6_update() local
805 struct net *net = dev_net(dev); in vti6_ioctl() local
961 struct net *net = dev_net(dev); in vti6_fb_tnl_dev_init() local
1008 struct net *net = dev_net(dev); in vti6_newlink() local
1024 struct net *net = dev_net(dev); in vti6_dellink() local
[all …]
/linux-5.10/include/net/netfilter/
Dnf_conntrack_labels.h32 struct net *net = nf_ct_net(ct); in nf_ct_labels_ext_add() local
54 static inline int nf_connlabels_get(struct net *net, unsigned int bit) { return 0; } in nf_connlabels_get()
55 static inline void nf_connlabels_put(struct net *net) {} in nf_connlabels_put()
/linux-5.10/net/netfilter/
Dnf_log_netdev.c15 static void nf_log_netdev_packet(struct net *net, u_int8_t pf, in nf_log_netdev_packet()
34 static int __net_init nf_log_netdev_net_init(struct net *net) in nf_log_netdev_net_init()
39 static void __net_exit nf_log_netdev_net_exit(struct net *net) in nf_log_netdev_net_exit()
Dnf_flow_table_offload.c173 static int flow_offload_eth_src(struct net *net, in flow_offload_eth_src()
204 static int flow_offload_eth_dst(struct net *net, in flow_offload_eth_dst()
249 static void flow_offload_ipv4_snat(struct net *net, in flow_offload_ipv4_snat()
276 static void flow_offload_ipv4_dnat(struct net *net, in flow_offload_ipv4_dnat()
317 static void flow_offload_ipv6_snat(struct net *net, in flow_offload_ipv6_snat()
342 static void flow_offload_ipv6_dnat(struct net *net, in flow_offload_ipv6_dnat()
386 static void flow_offload_port_snat(struct net *net, in flow_offload_port_snat()
416 static void flow_offload_port_dnat(struct net *net, in flow_offload_port_dnat()
446 static void flow_offload_ipv4_checksum(struct net *net, in flow_offload_ipv4_checksum()
518 int nf_flow_rule_route_ipv4(struct net *net, const struct flow_offload *flow, in nf_flow_rule_route_ipv4()
[all …]
/linux-5.10/net/bridge/netfilter/
Dnf_log_bridge.c16 static void nf_log_bridge_packet(struct net *net, u_int8_t pf, in nf_log_bridge_packet()
35 static int __net_init nf_log_bridge_net_init(struct net *net) in nf_log_bridge_net_init()
40 static void __net_exit nf_log_bridge_net_exit(struct net *net) in nf_log_bridge_net_exit()
/linux-5.10/net/openvswitch/
Dconntrack.c495 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
544 ovs_ct_expect_find(struct net *net, const struct nf_conntrack_zone *zone, in ovs_ct_expect_find()
608 ovs_ct_find_existing(struct net *net, const struct nf_conntrack_zone *zone, in ovs_ct_find_existing()
651 struct nf_conn *ovs_ct_executed(struct net *net, in ovs_ct_executed()
679 static bool skb_nfct_cached(struct net *net, in skb_nfct_cached()
868 static int ovs_ct_nat(struct net *net, struct sw_flow_key *key, in ovs_ct_nat()
930 static int ovs_ct_nat(struct net *net, struct sw_flow_key *key, in ovs_ct_nat()
945 static int __ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in __ovs_ct_lookup()
1046 static int ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in ovs_ct_lookup()
1154 static int ovs_ct_check_limit(struct net *net, in ovs_ct_check_limit()
[all …]
/linux-5.10/drivers/net/usb/
Dusbnet.c375 int usbnet_change_mtu (struct net_device *net, int new_mtu) in usbnet_change_mtu()
796 int usbnet_stop (struct net_device *net) in usbnet_stop()
858 int usbnet_open (struct net_device *net) in usbnet_open()
947 int usbnet_get_link_ksettings(struct net_device *net, in usbnet_get_link_ksettings()
961 int usbnet_set_link_ksettings(struct net_device *net, in usbnet_set_link_ksettings()
983 void usbnet_get_stats64(struct net_device *net, struct rtnl_link_stats64 *stats) in usbnet_get_stats64()
992 u32 usbnet_get_link (struct net_device *net) in usbnet_get_link()
1009 int usbnet_nway_reset(struct net_device *net) in usbnet_nway_reset()
1020 void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info) in usbnet_get_drvinfo()
1031 u32 usbnet_get_msglevel (struct net_device *net) in usbnet_get_msglevel()
[all …]
Dipheth.c90 struct net_device *net; member
285 struct net_device *net = dev->net; in ipheth_get_macaddr() local
332 static int ipheth_open(struct net_device *net) in ipheth_open()
352 static int ipheth_close(struct net_device *net) in ipheth_close()
361 static netdev_tx_t ipheth_tx(struct sk_buff *skb, struct net_device *net) in ipheth_tx()
403 static void ipheth_tx_timeout(struct net_device *net, unsigned int txqueue) in ipheth_tx_timeout()
412 static u32 ipheth_ethtool_op_get_link(struct net_device *net) in ipheth_ethtool_op_get_link()
/linux-5.10/net/netfilter/ipset/
Dip_set_core.c38 static struct ip_set_net *ip_set_pernet(struct net *net) in ip_set_pernet()
701 ip_set_rcu_get(struct net *net, ip_set_id_t index) in ip_set_rcu_get()
815 ip_set_get_byname(struct net *net, const char *name, struct ip_set **set) in ip_set_get_byname()
856 ip_set_put_byindex(struct net *net, ip_set_id_t index) in ip_set_put_byindex()
870 ip_set_name_byindex(struct net *net, ip_set_id_t index, char *name) in ip_set_name_byindex()
892 ip_set_nfnl_get_byindex(struct net *net, ip_set_id_t index) in ip_set_nfnl_get_byindex()
919 ip_set_nfnl_put(struct net *net, ip_set_id_t index) in ip_set_nfnl_put()
1045 static int ip_set_none(struct net *net, struct sock *ctnl, struct sk_buff *skb, in ip_set_none()
1053 static int ip_set_create(struct net *net, struct sock *ctnl, in ip_set_create()
1195 static int ip_set_destroy(struct net *net, struct sock *ctnl, in ip_set_destroy()
[all …]
/linux-5.10/net/ipv4/netfilter/
Diptable_security.c48 static int __net_init iptable_security_table_init(struct net *net) in iptable_security_table_init()
65 static void __net_exit iptable_security_net_pre_exit(struct net *net) in iptable_security_net_pre_exit()
72 static void __net_exit iptable_security_net_exit(struct net *net) in iptable_security_net_exit()
Dip_tables.c187 static void trace_packet(struct net *net, in trace_packet()
451 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
498 static int check_target(struct ipt_entry *e, struct net *net, const char *name) in check_target()
516 find_check_entry(struct ipt_entry *e, struct net *net, const char *name, in find_check_entry()
637 cleanup_entry(struct ipt_entry *e, struct net *net) in cleanup_entry()
661 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table()
947 static int get_info(struct net *net, void __user *user, const int *len) in get_info()
1004 get_entries(struct net *net, struct ipt_get_entries __user *uptr, in get_entries()
1037 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace()
1105 do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace()
[all …]
/linux-5.10/net/ipv6/netfilter/
Dip6table_security.c47 static int __net_init ip6table_security_table_init(struct net *net) in ip6table_security_table_init()
64 static void __net_exit ip6table_security_net_pre_exit(struct net *net) in ip6table_security_net_pre_exit()
71 static void __net_exit ip6table_security_net_exit(struct net *net) in ip6table_security_net_exit()
Dip6_tables.c212 static void trace_packet(struct net *net, in trace_packet()
469 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
516 static int check_target(struct ip6t_entry *e, struct net *net, const char *name) in check_target()
535 find_check_entry(struct ip6t_entry *e, struct net *net, const char *name, in find_check_entry()
654 static void cleanup_entry(struct ip6t_entry *e, struct net *net) in cleanup_entry()
678 translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0, in translate_table()
963 static int get_info(struct net *net, void __user *user, const int *len) in get_info()
1020 get_entries(struct net *net, struct ip6t_get_entries __user *uptr, in get_entries()
1054 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace()
1122 do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace()
[all …]
/linux-5.10/drivers/vhost/
Dnet.c319 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet()
328 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err()
333 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy()
358 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used()
459 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch()
497 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue()
508 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll()
559 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc()
587 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend()
608 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs()
[all …]
/linux-5.10/fs/nfsd/
Dnfs4recover.c505 nfsd4_recdir_load(struct net *net) { in nfsd4_recdir_load()
524 nfsd4_init_recdir(struct net *net) in nfsd4_init_recdir()
558 nfsd4_shutdown_recdir(struct net *net) in nfsd4_shutdown_recdir()
569 nfs4_legacy_state_init(struct net *net) in nfs4_legacy_state_init()
588 nfs4_legacy_state_shutdown(struct net *net) in nfs4_legacy_state_shutdown()
596 nfsd4_load_reboot_recovery_data(struct net *net) in nfsd4_load_reboot_recovery_data()
612 nfsd4_legacy_tracking_init(struct net *net) in nfsd4_legacy_tracking_init()
638 nfsd4_legacy_tracking_exit(struct net *net) in nfsd4_legacy_tracking_exit()
953 nfsd4_cld_register_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_register_net()
967 nfsd4_cld_unregister_net(struct net *net, struct rpc_pipe *pipe) in nfsd4_cld_unregister_net()
[all …]
Dfilecache.c49 struct net *net; member
174 struct net *net) in nfsd_file_alloc()
368 nfsd_file_list_add_disposal(struct list_head *files, struct net *net) in nfsd_file_list_add_disposal()
387 struct net *net) in nfsd_file_list_add_pernet()
722 nfsd_file_cache_purge(struct net *net) in nfsd_file_cache_purge()
754 nfsd_alloc_fcache_disposal(struct net *net) in nfsd_alloc_fcache_disposal()
794 nfsd_alloc_fcache_disposal_net(struct net *net) in nfsd_alloc_fcache_disposal_net()
806 nfsd_free_fcache_disposal_net(struct net *net) in nfsd_free_fcache_disposal_net()
823 nfsd_file_cache_start_net(struct net *net) in nfsd_file_cache_start_net()
829 nfsd_file_cache_shutdown_net(struct net *net) in nfsd_file_cache_shutdown_net()
[all …]
/linux-5.10/net/can/
Daf_can.c114 static int can_create(struct net *net, struct socket *sock, int protocol, in can_create()
303 static struct can_dev_rcv_lists *can_dev_rcv_lists_find(struct net *net, in can_dev_rcv_lists_find()
442 int can_rx_register(struct net *net, struct net_device *dev, canid_t can_id, in can_rx_register()
512 void can_rx_unregister(struct net *net, struct net_device *dev, canid_t can_id, in can_rx_unregister()
646 struct net *net = dev_net(dev); in can_receive() local
812 static int can_pernet_init(struct net *net) in can_pernet_init()
848 static void can_pernet_exit(struct net *net) in can_pernet_exit()

12345678910>>...33