Home
last modified time | relevance | path

Searched defs:net (Results 151 – 175 of 814) sorted by relevance

12345678910>>...33

/linux-5.10/net/netfilter/
Dnft_set_bitmap.c76 static bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set, in nft_bitmap_lookup()
106 static void *nft_bitmap_get(const struct net *net, const struct nft_set *set, in nft_bitmap_get()
123 static int nft_bitmap_insert(const struct net *net, const struct nft_set *set, in nft_bitmap_insert()
146 static void nft_bitmap_remove(const struct net *net, in nft_bitmap_remove()
161 static void nft_bitmap_activate(const struct net *net, in nft_bitmap_activate()
176 static bool nft_bitmap_flush(const struct net *net, in nft_bitmap_flush()
192 static void *nft_bitmap_deactivate(const struct net *net, in nft_bitmap_deactivate()
/linux-5.10/include/net/netfilter/
Dnf_conntrack_acct.h33 struct net *net = nf_ct_net(ct); in nf_ct_acct_ext_add() local
51 static inline bool nf_ct_acct_enabled(struct net *net) in nf_ct_acct_enabled()
61 static inline void nf_ct_set_acct(struct net *net, bool enable) in nf_ct_set_acct()
/linux-5.10/net/ipv4/
Digmp.c352 struct net *net = dev_net(dev); in igmpv3_newpack() local
461 struct net *net = dev_net(dev); in add_grec() local
587 struct net *net = dev_net(in_dev->dev); in igmpv3_send_report() local
730 struct net *net = dev_net(dev); in igmp_send_report() local
818 struct net *net = dev_net(in_dev->dev); in igmp_ifc_event() local
910 struct net *net = dev_net(in_dev->dev); in igmp_heard_report() local
940 struct net *net = dev_net(in_dev->dev); in igmp_heard_query() local
1166 struct net *net = dev_net(in_dev->dev); in igmpv3_add_delrec() local
1208 struct net *net = dev_net(in_dev->dev); in igmpv3_del_delrec() local
1280 struct net *net = dev_net(in_dev->dev); in __igmp_group_dropped() local
[all …]
Dfib_semantics.c221 void fib_nh_release(struct net *net, struct fib_nh *fib_nh) in fib_nh_release()
367 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh()
573 int fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, in fib_nh_common_init()
611 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init()
671 struct net *net = fi->fib_net; in fib_get_nhs() local
819 static int fib_encap_match(struct net *net, u16 encap_type, in fib_encap_match()
841 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, in fib_nh_match()
995 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw()
1063 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw()
1157 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw()
[all …]
Dinet_hashtables.c31 static u32 inet_ehashfn(const struct net *net, const __be32 laddr, in inet_ehashfn()
65 struct net *net, in inet_bind_bucket_create()
232 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
253 static inline struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport()
276 static struct sock *inet_lhash2_lookup(struct net *net, in inet_lhash2_lookup()
304 static inline struct sock *inet_lookup_run_bpf(struct net *net, in inet_lookup_run_bpf()
327 struct sock *__inet_lookup_listener(struct net *net, in __inet_lookup_listener()
390 struct sock *__inet_lookup_established(struct net *net, in __inet_lookup_established()
448 struct net *net = sock_net(sk); in __inet_check_established() local
524 struct net *net = sock_net(sk); in inet_ehash_lookup_by_sk() local
[all …]
Dtcp_metrics.c152 struct net *net; in tcpm_new() local
213 struct net *net, unsigned int hash) in __tcp_get_metrics()
235 struct net *net; in __tcp_get_metrics_req() local
278 struct net *net; in tcp_get_metrics() local
325 struct net *net = sock_net(sk); in tcp_update_metrics() local
447 struct net *net = sock_net(sk); in tcp_init_metrics() local
747 struct net *net = sock_net(skb->sk); in tcp_metrics_nl_dump() local
825 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_get() local
875 static void tcp_metrics_flush_all(struct net *net) in tcp_metrics_flush_all()
909 struct net *net = genl_info_net(info); in tcp_metrics_nl_cmd_del() local
[all …]
Dipcomp.c24 struct net *net = dev_net(skb->dev); in ipcomp4_err() local
58 struct net *net = xs_net(x); in ipcomp_tunnel_create() local
97 struct net *net = xs_net(x); in ipcomp_tunnel_attach() local
/linux-5.10/net/ipv6/
Dip6_output.c59 static int ip6_finish_output2(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_finish_output2()
128 static int __ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip6_finish_output()
146 static int ip6_finish_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_finish_output()
162 int ip6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_output()
182 bool ip6_autoflowlabel(struct net *net, const struct ipv6_pinfo *np) in ip6_autoflowlabel()
199 struct net *net = sock_net(sk); in ip6_xmit() local
384 static inline int ip6_forward_finish(struct net *net, struct sock *sk, in ip6_forward_finish()
427 struct net *net = dev_net(dst->dev); in ip6_forward() local
761 int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in ip6_fragment()
762 int (*output)(struct net *, struct sock *, struct sk_buff *)) in ip6_fragment()
[all …]
Dudp.c57 static u32 udp6_ehashfn(const struct net *net, in udp6_ehashfn()
101 static int compute_score(struct sock *sk, struct net *net, in compute_score()
144 static struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport()
163 static struct sock *udp6_lib_lookup2(struct net *net, in udp6_lib_lookup2()
191 static inline struct sock *udp6_lookup_run_bpf(struct net *net, in udp6_lookup_run_bpf()
217 struct sock *__udp6_lib_lookup(struct net *net, in __udp6_lib_lookup()
294 struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport, in udp6_lib_lookup()
503 static struct sock *__udp6_lib_err_encap(struct net *net, in __udp6_lib_err_encap()
559 struct net *net = dev_net(skb->dev); in __udp6_lib_err() local
759 static bool __udp_v6_is_mcast_sock(struct net *net, struct sock *sk, in __udp_v6_is_mcast_sock()
[all …]
Dnetfilter.c23 int ip6_route_me_harder(struct net *net, struct sock *sk_partial, struct sk_buff *skb) in ip6_route_me_harder()
92 int __nf_ip6_route(struct net *net, struct dst_entry **dst, in __nf_ip6_route()
115 int br_ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in br_ip6_fragment()
117 int (*output)(struct net *, struct sock *sk, in br_ip6_fragment()
/linux-5.10/net/ipv4/netfilter/
Diptable_raw.c49 static int __net_init iptable_raw_table_init(struct net *net) in iptable_raw_table_init()
70 static void __net_exit iptable_raw_net_pre_exit(struct net *net) in iptable_raw_net_pre_exit()
77 static void __net_exit iptable_raw_net_exit(struct net *net) in iptable_raw_net_exit()
Dnf_log_ipv4.c35 static void dump_ipv4_packet(struct net *net, struct nf_log_buf *m, in dump_ipv4_packet()
311 static void nf_log_ip_packet(struct net *net, u_int8_t pf, in nf_log_ip_packet()
347 static int __net_init nf_log_ipv4_net_init(struct net *net) in nf_log_ipv4_net_init()
352 static void __net_exit nf_log_ipv4_net_exit(struct net *net) in nf_log_ipv4_net_exit()
Dnf_defrag_ipv4.c25 static int nf_ct_ipv4_gather_frags(struct net *net, struct sk_buff *skb, in nf_ct_ipv4_gather_frags()
107 static void __net_exit defrag4_net_exit(struct net *net) in defrag4_net_exit()
130 int nf_defrag_ipv4_enable(struct net *net) in nf_defrag_ipv4_enable()
Darp_tables.c387 static int check_target(struct arpt_entry *e, struct net *net, const char *name) in check_target()
404 find_check_entry(struct arpt_entry *e, struct net *net, const char *name, in find_check_entry()
499 static void cleanup_entry(struct arpt_entry *e, struct net *net) in cleanup_entry()
518 static int translate_table(struct net *net, in translate_table()
790 static int get_info(struct net *net, void __user *user, const int *len) in get_info()
845 static int get_entries(struct net *net, struct arpt_get_entries __user *uptr, in get_entries()
879 static int __do_replace(struct net *net, const char *name, in __do_replace()
950 static int do_replace(struct net *net, sockptr_t arg, unsigned int len) in do_replace()
998 static int do_add_counters(struct net *net, sockptr_t arg, unsigned int len) in do_add_counters()
1154 static int translate_compat_table(struct net *net, in translate_compat_table()
[all …]
/linux-5.10/net/ipv6/netfilter/
Dip6table_raw.c48 static int __net_init ip6table_raw_table_init(struct net *net) in ip6table_raw_table_init()
69 static void __net_exit ip6table_raw_net_pre_exit(struct net *net) in ip6table_raw_net_pre_exit()
76 static void __net_exit ip6table_raw_net_exit(struct net *net) in ip6table_raw_net_exit()
Dnf_log_ipv6.c36 static void dump_ipv6_packet(struct net *net, struct nf_log_buf *m, in dump_ipv6_packet()
343 static void nf_log_ip6_packet(struct net *net, u_int8_t pf, in nf_log_ip6_packet()
379 static int __net_init nf_log_ipv6_net_init(struct net *net) in nf_log_ipv6_net_init()
384 static void __net_exit nf_log_ipv6_net_exit(struct net *net) in nf_log_ipv6_net_exit()
/linux-5.10/include/linux/
Dnetfilter_ipv6.h79 static inline int nf_ipv6_chk_addr(struct net *net, const struct in6_addr *addr, in nf_ipv6_chk_addr()
99 static inline int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route()
125 static inline int nf_br_ip6_fragment(struct net *net, struct sock *sk, in nf_br_ip6_fragment()
128 int (*output)(struct net *, struct sock *sk, in nf_br_ip6_fragment()
148 static inline int nf_ip6_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb) in nf_ip6_route_me_harder()
/linux-5.10/net/key/
Daf_key.c96 struct net *net = sock_net(sk); in pfkey_sock_destruct() local
117 struct net *net = sock_net(sk); in pfkey_insert() local
138 static int pfkey_create(struct net *net, struct socket *sock, int protocol, in pfkey_create()
221 struct net *net) in pfkey_broadcast()
656 static struct xfrm_state *pfkey_xfrm_state_lookup(struct net *net, const struct sadb_msg *hdr, voi… in pfkey_xfrm_state_lookup()
1063 static struct xfrm_state * pfkey_msg2xfrm_state(struct net *net, in pfkey_msg2xfrm_state()
1311 struct net *net = sock_net(sk); in pfkey_getspi() local
1416 struct net *net = sock_net(sk); in pfkey_acquire() local
1503 struct net *net = sock_net(sk); in pfkey_add() local
1540 struct net *net = sock_net(sk); in pfkey_delete() local
[all …]
/linux-5.10/net/l2tp/
Dl2tp_netlink.c53 struct net *net = genl_info_net(info); in l2tp_nl_session_get() local
193 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_create() local
263 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_delete() local
293 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_modify() local
452 struct net *net = genl_info_net(info); in l2tp_nl_cmd_tunnel_get() local
494 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_tunnel_dump() local
527 struct net *net = genl_info_net(info); in l2tp_nl_cmd_session_create() local
825 struct net *net = sock_net(skb->sk); in l2tp_nl_cmd_session_dump() local
/linux-5.10/fs/lockd/
Dhost.c62 struct net *net; /* network namespace to bind */ member
222 struct net *net, in nlmclnt_lookup_host()
337 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local
555 void nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) in nlm_host_rebooted()
581 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts()
612 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net()
655 nlm_gc_hosts(struct net *net) in nlm_gc_hosts()
/linux-5.10/net/bridge/
Dbr_input.c27 br_netif_receive_skb(struct net *net, struct sock *sk, struct sk_buff *skb) in br_netif_receive_skb()
71 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_frame_finish()
196 static int br_handle_local_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_local_finish()
210 struct net *net; in nf_hook_bridge_pre() local
Dbr_ioctl.c20 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices()
85 struct net *net = dev_net(br->dev); in add_del_if() local
299 static int old_deviceless(struct net *net, void __user *uarg) in old_deviceless()
353 int br_ioctl_deviceless_stub(struct net *net, unsigned int cmd, void __user *uarg) in br_ioctl_deviceless_stub()
/linux-5.10/net/sctp/
Dendpointola.c45 struct net *net = sock_net(sk); in sctp_endpoint_init() local
241 struct net *net, in sctp_endpoint_is_match()
295 struct net *net = ep->base.net; in sctp_endpoint_is_peeled_off() local
320 struct net *net; in sctp_endpoint_bh_rcv() local
/linux-5.10/net/tipc/
Dbcast.h112 static inline void tipc_bcast_lock(struct net *net) in tipc_bcast_lock()
117 static inline void tipc_bcast_unlock(struct net *net) in tipc_bcast_unlock()
122 static inline struct tipc_link *tipc_bc_sndlink(struct net *net) in tipc_bc_sndlink()
/linux-5.10/fs/nfs/
Dcallback.c42 static int nfs4_callback_up_net(struct svc_serv *serv, struct net *net) in nfs4_callback_up_net()
184 static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struct net *net) in nfs_callback_down_net()
196 struct net *net, struct rpc_xprt *xprt) in nfs_callback_up_net()
319 struct net *net = xprt->xprt_net; in nfs_callback_up() local
361 void nfs_callback_down(int minorversion, struct net *net) in nfs_callback_down()

12345678910>>...33