Home
last modified time | relevance | path

Searched defs:net (Results 101 – 125 of 859) sorted by relevance

12345678910>>...35

/Linux-v6.6/net/netfilter/
Dnf_conntrack_expect.c51 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect_report() local
112 const struct net *net) in nf_ct_exp_equal()
131 __nf_ct_expect_find(struct net *net, in __nf_ct_expect_find()
153 nf_ct_expect_find_get(struct net *net, in nf_ct_expect_find_get()
172 nf_ct_find_expectation(struct net *net, in nf_ct_find_expectation()
390 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_insert() local
440 struct net *net = nf_ct_exp_net(expect); in __nf_ct_expect_check() local
534 void nf_ct_expect_iterate_net(struct net *net, in nf_ct_expect_iterate_net()
678 static int exp_proc_init(struct net *net) in exp_proc_init()
698 static void exp_proc_remove(struct net *net) in exp_proc_remove()
[all …]
Dnft_set_hash.c80 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
98 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
163 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
187 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
195 static bool nft_rhash_flush(const struct net *net, in nft_rhash_flush()
205 static void *nft_rhash_deactivate(const struct net *net, in nft_rhash_deactivate()
227 static void nft_rhash_remove(const struct net *net, in nft_rhash_remove()
320 struct net *net; in nft_rhash_gc() local
484 bool nft_hash_lookup(const struct net *net, const struct nft_set *set, in nft_hash_lookup()
504 static void *nft_hash_get(const struct net *net, const struct nft_set *set, in nft_hash_get()
[all …]
Dnf_log_syslog.c44 static bool nf_log_allowed(const struct net *net) in nf_log_allowed()
133 static void nf_log_arp_packet(struct net *net, u_int8_t pf, in nf_log_arp_packet()
164 static void nf_log_dump_sk_uid_gid(struct net *net, struct nf_log_buf *m, in nf_log_dump_sk_uid_gid()
298 dump_ipv4_packet(struct net *net, struct nf_log_buf *m, in dump_ipv4_packet()
532 dump_ipv6_packet(struct net *net, struct nf_log_buf *m, in dump_ipv6_packet()
830 static void nf_log_ip_packet(struct net *net, u_int8_t pf, in nf_log_ip_packet()
865 static void nf_log_ip6_packet(struct net *net, u_int8_t pf, in nf_log_ip6_packet()
900 static void nf_log_unknown_packet(struct net *net, u_int8_t pf, in nf_log_unknown_packet()
926 static void nf_log_netdev_packet(struct net *net, u_int8_t pf, in nf_log_netdev_packet()
966 static int __net_init nf_log_syslog_net_init(struct net *net) in nf_log_syslog_net_init()
[all …]
Dnf_flow_table_offload.c223 static int flow_offload_eth_src(struct net *net, in flow_offload_eth_src()
270 static int flow_offload_eth_dst(struct net *net, in flow_offload_eth_dst()
327 static void flow_offload_ipv4_snat(struct net *net, in flow_offload_ipv4_snat()
354 static void flow_offload_ipv4_dnat(struct net *net, in flow_offload_ipv4_dnat()
395 static void flow_offload_ipv6_snat(struct net *net, in flow_offload_ipv6_snat()
420 static void flow_offload_ipv6_dnat(struct net *net, in flow_offload_ipv6_dnat()
464 static void flow_offload_port_snat(struct net *net, in flow_offload_port_snat()
494 static void flow_offload_port_dnat(struct net *net, in flow_offload_port_dnat()
524 static void flow_offload_ipv4_checksum(struct net *net, in flow_offload_ipv4_checksum()
544 static void flow_offload_redirect(struct net *net, in flow_offload_redirect()
[all …]
Dcore.c279 nf_hook_entry_head(struct net *net, int pf, unsigned int hooknum, in nf_hook_entry_head()
336 static int nf_ingress_check(struct net *net, const struct nf_hook_ops *reg, in nf_ingress_check()
396 static int __nf_register_net_hook(struct net *net, int pf, in __nf_register_net_hook()
488 static void __nf_unregister_net_hook(struct net *net, int pf, in __nf_unregister_net_hook()
529 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook()
557 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook()
587 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_register_net_hooks()
607 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_unregister_net_hooks()
776 static int __net_init netfilter_net_init(struct net *net) in netfilter_net_init()
800 static void __net_exit netfilter_net_exit(struct net *net) in netfilter_net_exit()
Dnf_conntrack_proto.c54 struct net *net = state->net; in nf_l4proto_log_invalid() local
79 struct net *net; in nf_ct_l4proto_log_invalid() local
438 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get()
527 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put()
562 static int nf_ct_netns_inet_get(struct net *net) in nf_ct_netns_inet_get()
582 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get()
609 void nf_ct_netns_put(struct net *net, uint8_t nfproto) in nf_ct_netns_put()
675 void nf_conntrack_proto_pernet_init(struct net *net) in nf_conntrack_proto_pernet_init()
Dnf_tables_api.c130 struct net *net, in nft_ctx_init()
189 struct net *net = ctx->net; in __nft_set_trans_bind() local
224 struct net *net = ctx->net; in __nft_chain_trans_bind() local
276 static int nft_netdev_register_hooks(struct net *net, in nft_netdev_register_hooks()
302 static void nft_netdev_unregister_hooks(struct net *net, in nft_netdev_unregister_hooks()
317 static int nf_tables_register_hook(struct net *net, in nf_tables_register_hook()
340 static void __nf_tables_unregister_hook(struct net *net, in __nf_tables_unregister_hook()
364 static void nf_tables_unregister_hook(struct net *net, in nf_tables_unregister_hook()
371 static void nft_trans_commit_list_add_tail(struct net *net, struct nft_trans *trans) in nft_trans_commit_list_add_tail()
779 static struct nft_table *nft_table_lookup(const struct net *net, in nft_table_lookup()
[all …]
/Linux-v6.6/include/net/
Dipv6.h211 #define IP6_REPLY_MARK(net, mark) \ argument
220 #define _DEVINC(net, statname, mod, idev, field) \ argument
229 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument
238 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument
246 #define _DEVADD(net, statname, mod, idev, field, val) \ argument
254 #define _DEVUPD(net, statname, mod, idev, field, val) \ argument
264 #define IP6_INC_STATS(net, idev,field) \ argument
266 #define __IP6_INC_STATS(net, idev,field) \ argument
268 #define IP6_ADD_STATS(net, idev,field,val) \ argument
270 #define __IP6_ADD_STATS(net, idev,field,val) \ argument
[all …]
Dicmp.h29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
/Linux-v6.6/net/core/
Dfib_rules.c104 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops()
138 struct net *net; in __fib_rules_register() local
164 fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) in fib_rules_register()
200 struct net *net = ops->fro_net; in fib_rules_unregister() local
361 static int call_fib_rule_notifiers(struct net *net, in call_fib_rule_notifiers()
378 int fib_rules_dump(struct net *net, struct notifier_block *nb, int family, in fib_rules_dump()
400 unsigned int fib_rules_seq_read(struct net *net, int family) in fib_rules_seq_read()
523 struct net *net = sock_net(skb->sk); in fib_nl2rule() local
777 struct net *net = sock_net(skb->sk); in fib_nl_newrule() local
885 struct net *net = sock_net(skb->sk); in fib_nl_delrule() local
[all …]
/Linux-v6.6/drivers/net/usb/
Dsr9800.c295 static void sr_set_multicast(struct net_device *net) in sr_set_multicast()
335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read()
354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write()
399 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol()
418 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol()
438 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len()
446 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom()
472 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo()
481 static u32 sr_get_link(struct net_device *net) in sr_get_link()
488 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl()
[all …]
/Linux-v6.6/net/ipv6/
Dinet6_hashtables.c24 u32 inet6_ehashfn(const struct net *net, in inet6_ehashfn()
50 struct sock *__inet6_lookup_established(struct net *net, in __inet6_lookup_established()
93 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
130 struct sock *inet6_lookup_reuseport(struct net *net, struct sock *sk, in inet6_lookup_reuseport()
151 static struct sock *inet6_lhash2_lookup(struct net *net, in inet6_lhash2_lookup()
178 struct sock *inet6_lookup_run_sk_lookup(struct net *net, in inet6_lookup_run_sk_lookup()
203 struct sock *inet6_lookup_listener(struct net *net, in inet6_lookup_listener()
247 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup()
273 struct net *net = sock_net(sk); in __inet6_check_established() local
Dicmp.c79 struct net *net = dev_net(skb->dev); in icmpv6_err() local
103 static struct sock *icmpv6_xmit_lock(struct net *net) in icmpv6_xmit_lock()
166 static bool icmpv6_mask_allow(struct net *net, int type) in icmpv6_mask_allow()
178 static bool icmpv6_global_allow(struct net *net, int type) in icmpv6_global_allow()
196 struct net *net = sock_net(sk); in icmpv6_xrlim_allow() local
238 struct net *net = sock_net(sk); in icmpv6_rt_has_prefsrc() local
350 static struct dst_entry *icmpv6_route_lookup(struct net *net, in icmpv6_route_lookup()
452 struct net *net; in icmp6_send() local
714 struct net *net = dev_net(skb->dev); in icmpv6_echo_reply() local
827 struct net *net = dev_net(skb->dev); in icmpv6_notify() local
[all …]
Dseg6_hmac.c239 struct net *net = dev_net(skb->dev); in seg6_hmac_validate_skb() local
280 struct seg6_hmac_info *seg6_hmac_info_lookup(struct net *net, u32 key) in seg6_hmac_info_lookup()
291 int seg6_hmac_info_add(struct net *net, u32 key, struct seg6_hmac_info *hinfo) in seg6_hmac_info_add()
303 int seg6_hmac_info_del(struct net *net, u32 key) in seg6_hmac_info_del()
325 int seg6_push_hmac(struct net *net, struct in6_addr *saddr, in seg6_push_hmac()
403 int __net_init seg6_hmac_net_init(struct net *net) in seg6_hmac_net_init()
433 void __net_exit seg6_hmac_net_exit(struct net *net) in seg6_hmac_net_exit()
/Linux-v6.6/net/ipv4/
Dip_output.c100 int __ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_local_out()
121 int ip_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_out()
153 struct net *net = sock_net(sk); in ip_build_and_send_pkt() local
196 static int ip_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output2()
245 static int ip_finish_output_gso(struct net *net, struct sock *sk, in ip_finish_output_gso()
293 static int __ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip_finish_output()
314 static int ip_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_finish_output()
330 static int ip_mc_finish_output(struct net *net, struct sock *sk, in ip_mc_finish_output()
364 int ip_mc_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_mc_output()
424 int ip_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_output()
[all …]
Dicmp.c198 static inline struct sock *icmp_xmit_lock(struct net *net) in icmp_xmit_lock()
275 static bool icmpv4_mask_allow(struct net *net, int type, int code) in icmpv4_mask_allow()
291 static bool icmpv4_global_allow(struct net *net, int type, int code) in icmpv4_global_allow()
307 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
337 void icmp_out_count(struct net *net, unsigned char type) in icmp_out_count()
401 struct net *net = dev_net(rt->dst.dev); in icmp_reply() local
476 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup()
599 struct net *net; in __icmp_send() local
857 struct net *net; in icmp_unreach() local
1001 struct net *net; in icmp_echo() local
[all …]
/Linux-v6.6/net/sunrpc/
Dstats.c287 do_register(struct net *net, const char *name, void *data, in do_register()
298 rpc_proc_register(struct net *net, struct rpc_stat *statp) in rpc_proc_register()
305 rpc_proc_unregister(struct net *net, const char *name) in rpc_proc_unregister()
315 svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops) in svc_proc_register()
322 svc_proc_unregister(struct net *net, const char *name) in svc_proc_unregister()
331 int rpc_proc_init(struct net *net) in rpc_proc_init()
344 void rpc_proc_exit(struct net *net) in rpc_proc_exit()
/Linux-v6.6/net/wireless/
Dwext-proc.c92 struct net *net = seq_file_net(seq); in wireless_dev_seq_start() local
109 struct net *net = seq_file_net(seq); in wireless_dev_seq_next() local
129 int __net_init wext_proc_init(struct net *net) in wext_proc_init()
139 void __net_exit wext_proc_exit(struct net *net) in wext_proc_exit()
/Linux-v6.6/net/ipv6/ila/
Dila_xlat.c203 static int ila_add_mapping(struct net *net, struct ila_xlat_params *xp) in ila_add_mapping()
282 static int ila_del_mapping(struct net *net, struct ila_xlat_params *xp) in ila_del_mapping()
346 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_add_mapping() local
359 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_del_mapping() local
380 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_flush() local
462 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_get_mapping() local
507 struct net *net = sock_net(cb->skb->sk); in ila_xlat_nl_dump_start() local
604 int ila_xlat_init_net(struct net *net) in ila_xlat_init_net()
622 void ila_xlat_exit_net(struct net *net) in ila_xlat_exit_net()
639 struct net *net = dev_net(skb->dev); in ila_xlat_addr() local
/Linux-v6.6/net/8021q/
Dvlanproc.c92 void vlan_proc_cleanup(struct net *net) in vlan_proc_cleanup()
111 int __net_init vlan_proc_init(struct net *net) in vlan_proc_init()
171 struct net *net = seq_file_net(seq); in vlan_seq_start() local
192 struct net *net = seq_file_net(seq); in vlan_seq_next() local
218 struct net *net = seq_file_net(seq); in vlan_seq_show() local
/Linux-v6.6/fs/afs/
Ddynroot.c114 struct afs_net *net = afs_d2net(dentry); in afs_probe_cell_name() local
181 struct afs_net *net = afs_d2net(dentry); in afs_lookup_atcell() local
277 int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_mkdir()
307 void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_rmdir()
344 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_populate() local
372 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_depopulate() local
/Linux-v6.6/net/kcm/
Dkcmproc.c20 struct net *net = seq_file_net(seq); in kcm_get_first() local
37 struct net *net = seq_file_net(seq); in kcm_get_idx() local
85 struct net *net = seq_file_net(seq); in kcm_format_mux_header() local
249 struct net *net = seq->private; in kcm_stats_seq_show() local
348 static int kcm_proc_init_net(struct net *net) in kcm_proc_init_net()
366 static void kcm_proc_exit_net(struct net *net) in kcm_proc_exit_net()
/Linux-v6.6/net/rds/
Dtcp.c316 int rds_tcp_laddr_check(struct net *net, const struct in6_addr *addr, in rds_tcp_laddr_check()
493 struct net *net = sock_net(sk); in rds_tcp_tune() local
538 struct net *net = sock_net(sk); in rds_tcp_accept_work() local
544 static __net_init int rds_tcp_init_net(struct net *net) in rds_tcp_init_net()
606 static void rds_tcp_kill_sock(struct net *net) in rds_tcp_kill_sock()
633 static void __net_exit rds_tcp_exit_net(struct net *net) in rds_tcp_exit_net()
653 void *rds_tcp_listen_sock_def_readable(struct net *net) in rds_tcp_listen_sock_def_readable()
669 static void rds_tcp_sysctl_reset(struct net *net) in rds_tcp_sysctl_reset()
689 struct net *net = current->nsproxy->net_ns; in rds_tcp_skbuf_handler() local
/Linux-v6.6/drivers/net/can/spi/
Dhi311x.c146 struct net_device *net; member
175 static void hi3110_clean(struct net_device *net) in hi3110_clean()
366 struct net_device *net) in hi3110_hard_start_xmit()
386 static int hi3110_do_set_mode(struct net_device *net, enum can_mode mode) in hi3110_do_set_mode()
407 static int hi3110_get_berr_counter(const struct net_device *net, in hi3110_get_berr_counter()
451 static int hi3110_do_set_bittiming(struct net_device *net) in hi3110_do_set_bittiming()
476 static int hi3110_setup(struct net_device *net) in hi3110_setup()
539 static int hi3110_stop(struct net_device *net) in hi3110_stop()
576 struct net_device *net = priv->net; in hi3110_tx_work_handler() local
599 struct net_device *net = priv->net; in hi3110_restart_work_handler() local
[all …]
/Linux-v6.6/net/sched/
Dact_ipt.c32 static int ipt_init_target(struct net *net, struct xt_entry_target *t, in ipt_init_target()
63 static void ipt_destroy_target(struct xt_entry_target *t, struct net *net) in ipt_destroy_target()
95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
216 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
225 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
385 static __net_init int ipt_init_net(struct net *net) in ipt_init_net()
415 static __net_init int xt_init_net(struct net *net) in xt_init_net()

12345678910>>...35