Home
last modified time | relevance | path

Searched defs:net (Results 351 – 375 of 880) sorted by relevance

1...<<11121314151617181920>>...36

/linux-6.15/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c19 nf_tproxy_handle_time_wait4(struct net *net, struct sk_buff *skb, in nf_tproxy_handle_time_wait4()
77 nf_tproxy_get_sock_v4(struct net *net, struct sk_buff *skb, in nf_tproxy_get_sock_v4()
/linux-6.15/include/net/
Dseg6_hmac.h60 static inline int seg6_hmac_net_init(struct net *net) { return 0; } in seg6_hmac_net_init()
61 static inline void seg6_hmac_net_exit(struct net *net) {} in seg6_hmac_net_exit()
Ddst.h339 struct net *net) in __skb_tunnel_rx()
364 struct net *net) in skb_tunnel_rx()
457 static inline int dst_output(struct net *net, struct sock *sk, struct sk_buff *skb) in dst_output()
494 static inline struct dst_entry *xfrm_lookup(struct net *net, in xfrm_lookup()
504 xfrm_lookup_with_ifid(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup_with_ifid()
511 static inline struct dst_entry *xfrm_lookup_route(struct net *net, in xfrm_lookup_route()
Draw.h43 static inline u32 raw_hashfunc(const struct net *net, u32 proto) in raw_hashfunc()
88 static inline bool raw_sk_bound_dev_eq(struct net *net, int bound_dev_if, in raw_sk_bound_dev_eq()
/linux-6.15/fs/nfsd/
Dlocalio.c61 nfsd_open_local_fh(struct net *net, struct auth_domain *dom, in nfsd_open_local_fh()
115 struct net *net = SVC_NET(rqstp); in localio_proc_uuid_is_local() local
/linux-6.15/drivers/net/
Dgeneve.c71 struct net *net; /* netns for packet i/o */ member
466 static struct socket *geneve_create_sock(struct net *net, bool ipv6, in geneve_create_sock()
587 static struct geneve_sock *geneve_socket_create(struct net *net, __be16 port, in geneve_socket_create()
674 struct net *net = geneve->net; in geneve_sock_add() local
1178 struct net *net = dev_net(dev); in geneve_offload_rx_ports() local
1345 static int geneve_configure(struct net *net, struct net_device *dev, in geneve_configure()
1875 struct net_device *geneve_dev_create_fb(struct net *net, const char *name, in geneve_dev_create_fb()
1940 static __net_init int geneve_init_net(struct net *net) in geneve_init_net()
1949 static void geneve_destroy_tunnels(struct net *net, struct list_head *head) in geneve_destroy_tunnels()
1961 struct net *net; in geneve_exit_batch_rtnl() local
[all …]
/linux-6.15/net/vmw_vsock/
Ddiag.c55 struct net *net; in vsock_diag_dump() local
144 struct net *net = sock_net(skb->sk); in vsock_diag_handler_dump() local
/linux-6.15/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c128 svc_rdma_create_listen_id(struct net *net, struct sockaddr *sap, in svc_rdma_create_listen_id()
163 struct net *net, int node) in svc_rdma_create_xprt()
354 struct net *net, in svc_rdma_create()
/linux-6.15/net/netfilter/ipvs/
Dip_vs_ctl.c72 static bool __ip_vs_addr_is_local_v6(struct net *net, in __ip_vs_addr_is_local_v6()
1732 struct net *net; in ip_vs_service_nets_cleanup() local
1769 struct net *net = dev_net(dev); in ip_vs_dst_event() local
2301 struct net *net = seq_file_net(seq); in ip_vs_info_array() local
2407 struct net *net = seq_file_net(seq); in ip_vs_info_seq_show() local
2484 struct net *net = seq_file_single_net(seq); in ip_vs_stats_show() local
2516 struct net *net = seq_file_single_net(seq); in ip_vs_stats_percpu_show() local
2693 struct net *net = sock_net(sk); in do_ip_vs_set_ctl() local
3019 struct net *net = sock_net(sk); in do_ip_vs_get_ctl() local
3395 struct net *net = sock_net(skb->sk); in ip_vs_genl_dump_services() local
[all …]
/linux-6.15/net/openvswitch/
Ddatapath.h101 possible_net_t net; member
209 static inline void ovs_dp_set_net(struct datapath *dp, struct net *net) in ovs_dp_set_net()
235 static inline struct datapath *get_dp_rcu(struct net *net, int dp_ifindex) in get_dp_rcu()
252 static inline struct datapath *get_dp(struct net *net, int dp_ifindex) in get_dp()
/linux-6.15/net/ipv4/
Dtcp_timer.c166 const struct net *net = sock_net(sk); in tcp_mtu_probing() local
245 struct net *net = sock_net(sk); in tcp_write_timeout() local
534 struct net *net = sock_net(sk); in tcp_retransmit_timer() local
751 struct net *net = read_pnet(&inet_rsk(req)->ireq_net); in tcp_syn_ack_timeout() local
Dtcp_ipv4.c111 static u32 tcp_v4_init_ts_off(const struct net *net, const struct sk_buff *skb) in tcp_v4_init_ts_off()
227 struct net *net = sock_net(sk); in tcp_v4_connect() local
418 struct net *net = sock_net(sk); in tcp_req_err() local
498 struct net *net = dev_net_rcu(skb->dev); in tcp_v4_err() local
758 struct net *net; in tcp_v4_send_reset() local
946 struct net *net = sock_net(sk); in tcp_v4_send_ack() local
1682 struct net *net = sock_net(sk_listener); local
1977 struct net *net = dev_net_rcu(skb->dev); local
2189 struct net *net = dev_net_rcu(skb->dev); local
3316 static int __net_init tcp4_proc_init_net(struct net *net)
[all …]
Dfib_trie.c93 static int call_fib_entry_notifiers(struct net *net, in call_fib_entry_notifiers()
1011 fib_find_matching_alias(struct net *net, const struct fib_rt_info *fri) in fib_find_matching_alias()
1038 void fib_alias_hw_flags_set(struct net *net, const struct fib_rt_info *fri) in fib_alias_hw_flags_set()
1194 int fib_table_insert(struct net *net, struct fib_table *tb, in fib_table_insert()
1657 static void fib_notify_alias_delete(struct net *net, u32 key, in fib_notify_alias_delete()
1688 int fib_table_delete(struct net *net, struct fib_table *tb, in fib_table_delete()
2000 int fib_table_flush(struct net *net, struct fib_table *tb, bool flush_all) in fib_table_flush()
2089 static void __fib_info_notify_update(struct net *net, struct fib_table *tb, in __fib_info_notify_update()
2137 void fib_info_notify_update(struct net *net, struct nl_info *info) in fib_info_notify_update()
2205 int fib_notify(struct net *net, struct notifier_block *nb, in fib_notify()
[all …]
Dip_gre.c139 struct net *net = dev_net(skb->dev); in ipgre_err() local
270 struct net *net = dev_net(skb->dev); in erspan_rcv() local
418 struct net *net = dev_net(skb->dev); in ipgre_rcv() local
1064 static int __net_init ipgre_init_net(struct net *net) in ipgre_init_net()
1703 struct net_device *gretap_fb_dev_create(struct net *net, const char *name, in gretap_fb_dev_create()
1750 static int __net_init ipgre_tap_init_net(struct net *net) in ipgre_tap_init_net()
1769 static int __net_init erspan_init_net(struct net *net) in erspan_init_net()
Daf_inet.c252 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create()
476 struct net *net = sock_net(sk); in __inet_bind() local
961 struct net *net = sock_net(sk); in inet_ioctl() local
1634 struct net *net) in inet_ctl_sock_create()
1710 static __net_init int ipv4_mib_init_net(struct net *net) in ipv4_mib_init_net()
1763 static __net_exit void ipv4_mib_exit_net(struct net *net) in ipv4_mib_exit_net()
1788 static __net_init int inet_init_net(struct net *net) in inet_init_net()
/linux-6.15/net/devlink/
Dcore.c221 struct net *net = devlink_net(devlink); in devlink_rel_devlink_handle_put() local
326 struct devlink *devlinks_xa_find_get(struct net *net, unsigned long *indexp) in devlinks_xa_find_get()
412 size_t priv_size, struct net *net, in devlink_alloc_ns()
495 static void __net_exit devlink_pernet_pre_exit(struct net *net) in devlink_pernet_pre_exit()
/linux-6.15/net/ipv6/
Dip6_udp_tunnel.c17 int udp_sock_create6(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create6()
137 struct net *net, in udp_tunnel6_dst_lookup()
Draw.c67 bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num, in raw_v6_match()
143 struct net *net = dev_net(skb->dev); in ipv6_raw_deliver() local
338 struct net *net = dev_net(skb->dev); in raw6_icmp_error() local
597 struct net *net = sock_net(sk); in rawv6_send_hdrinc() local
1242 static int __net_init raw6_init_net(struct net *net) in raw6_init_net()
1251 static void __net_exit raw6_exit_net(struct net *net) in raw6_exit_net()
/linux-6.15/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c40 struct net *net, in nf_tproxy_handle_time_wait6()
76 nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff, in nf_tproxy_get_sock_v6()
/linux-6.15/net/psample/
Dpsample.c141 static struct psample_group *psample_group_create(struct net *net, in psample_group_create()
166 psample_group_lookup(struct net *net, u32 group_num) in psample_group_lookup()
176 struct psample_group *psample_group_get(struct net *net, u32 group_num) in psample_group_get()
/linux-6.15/net/netfilter/
Dx_tables.c1217 struct xt_table *xt_find_table(struct net *net, u8 af, const char *name) in xt_find_table()
1235 struct xt_table *xt_find_table_lock(struct net *net, u_int8_t af, in xt_find_table_lock()
1282 struct xt_table *xt_request_find_table_lock(struct net *net, u_int8_t af, in xt_request_find_table_lock()
1451 struct xt_table *xt_register_table(struct net *net, in xt_register_table()
1522 struct net *net = seq_file_net(seq); in xt_table_seq_start() local
1534 struct net *net = seq_file_net(seq); in xt_table_seq_next() local
1763 int (*table_init)(struct net *net)) in xt_register_template()
1814 int xt_proto_init(struct net *net, u_int8_t af) in xt_proto_init()
1880 void xt_proto_fini(struct net *net, u_int8_t af) in xt_proto_fini()
1955 static int __net_init xt_net_init(struct net *net) in xt_net_init()
[all …]
Dnf_nat_proto.c663 static int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family) in nf_xfrm_me_harder()
859 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_register_fn()
866 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_unregister_fn()
1120 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_register_fn()
1127 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_unregister_fn()
1135 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_register_fn()
1156 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_unregister_fn()
/linux-6.15/include/net/netfilter/
Dnf_flow_table.h86 possible_net_t net; member
381 #define NF_FLOW_TABLE_STAT_INC(net, count) __this_cpu_inc((net)->ft.stat->count) argument
382 #define NF_FLOW_TABLE_STAT_DEC(net, count) __this_cpu_dec((net)->ft.stat->count) argument
383 #define NF_FLOW_TABLE_STAT_INC_ATOMIC(net, count) \ argument
385 #define NF_FLOW_TABLE_STAT_DEC_ATOMIC(net, count) \ argument
392 static inline int nf_flow_table_init_proc(struct net *net) in nf_flow_table_init_proc()
397 static inline void nf_flow_table_fini_proc(struct net *net) in nf_flow_table_fini_proc()
/linux-6.15/include/linux/
Dinetdevice.h57 #define IPV4_DEVCONF_ALL(net, attr) \ argument
59 #define IPV4_DEVCONF_ALL_RO(net, attr) READ_ONCE(IPV4_DEVCONF_ALL(net, attr)) argument
89 #define IN_DEV_NET_ORCONF(in_dev, net, attr) \ argument
123 #define IN_DEV_NET_ROUTE_LOCALNET(in_dev, net) \ argument
181 static inline struct net_device *ip_dev_find(struct net *net, __be32 addr) in ip_dev_find()
229 #define in_dev_for_each_ifa_rtnl_net(net, ifa, in_dev) \ argument
/linux-6.15/net/dccp/
Dipv6.c85 struct net *net = dev_net(skb->dev); in dccp_v6_err() local
266 struct net *net = dev_net(skb_dst(rxskb)->dev); in dccp_v6_ctl_send_reset() local
1102 static int __net_init dccp_v6_init_net(struct net *net) in dccp_v6_init_net()
1113 static void __net_exit dccp_v6_exit_net(struct net *net) in dccp_v6_exit_net()

1...<<11121314151617181920>>...36