Searched refs:snet (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/net/netfilter/ |
D | nft_synproxy.c | 25 struct synproxy_net *snet, in nft_synproxy_tcp_options() argument 29 this_cpu_inc(snet->stats->syn_received); in nft_synproxy_tcp_options() 53 struct synproxy_net *snet = synproxy_pernet(net); in nft_synproxy_eval_v4() local 58 nft_synproxy_tcp_options(opts, tcp, snet, &info, priv); in nft_synproxy_eval_v4() 84 struct synproxy_net *snet = synproxy_pernet(net); in nft_synproxy_eval_v6() local 89 nft_synproxy_tcp_options(opts, tcp, snet, &info, priv); in nft_synproxy_eval_v6() 156 struct synproxy_net *snet = synproxy_pernet(ctx->net); in nft_synproxy_do_init() local 177 err = nf_synproxy_ipv4_init(snet, ctx->net); in nft_synproxy_do_init() 183 err = nf_synproxy_ipv6_init(snet, ctx->net); in nft_synproxy_do_init() 190 err = nf_synproxy_ipv4_init(snet, ctx->net); in nft_synproxy_do_init() [all …]
|
D | nf_synproxy_core.c | 242 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_start() local 252 return per_cpu_ptr(snet->stats, cpu); in synproxy_cpu_seq_start() 260 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); in synproxy_cpu_seq_next() local 267 return per_cpu_ptr(snet->stats, cpu); in synproxy_cpu_seq_next() 332 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_net_init() local 346 snet->tmpl = ct; in synproxy_net_init() 348 snet->stats = alloc_percpu(struct synproxy_stats); in synproxy_net_init() 349 if (snet->stats == NULL) in synproxy_net_init() 359 free_percpu(snet->stats); in synproxy_net_init() 368 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_net_exit() local [all …]
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_synproxy.h | 65 int nf_synproxy_ipv4_init(struct synproxy_net *snet, struct net *net); 66 void nf_synproxy_ipv4_fini(struct synproxy_net *snet, struct net *net); 80 int nf_synproxy_ipv6_init(struct synproxy_net *snet, struct net *net); 81 void nf_synproxy_ipv6_fini(struct synproxy_net *snet, struct net *net); 84 nf_synproxy_ipv6_init(struct synproxy_net *snet, struct net *net) { return 0; } in nf_synproxy_ipv6_init() argument 86 nf_synproxy_ipv6_fini(struct synproxy_net *snet, struct net *net) {}; in nf_synproxy_ipv6_fini() argument
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | ipt_SYNPROXY.c | 17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg4() local 33 this_cpu_inc(snet->stats->syn_received); in synproxy_tg4() 66 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_check() local 78 err = nf_synproxy_ipv4_init(snet, par->net); in synproxy_tg4_check() 89 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_destroy() local 91 nf_synproxy_ipv4_fini(snet, par->net); in synproxy_tg4_destroy()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg6() local 33 this_cpu_inc(snet->stats->syn_received); in synproxy_tg6() 68 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_check() local 81 err = nf_synproxy_ipv6_init(snet, par->net); in synproxy_tg6_check() 92 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_destroy() local 94 nf_synproxy_ipv6_fini(snet, par->net); in synproxy_tg6_destroy()
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | ip_vs_core.c | 264 union nf_inet_addr snet; /* source network of the client, in ip_vs_sched_persist() local 280 ipv6_addr_prefix(&snet.in6, &src_addr->in6, in ip_vs_sched_persist() 284 snet.ip = src_addr->ip & svc->netmask; in ip_vs_sched_persist() 290 IP_VS_DBG_ADDR(svc->af, &snet)); in ip_vs_sched_persist() 332 if (ip_vs_conn_fill_param_persist(svc, skb, protocol, &snet, 0, in ip_vs_sched_persist() 857 union nf_inet_addr *snet, in handle_response_icmp() argument 872 IP_VS_DBG_ADDR(af, snet)); in handle_response_icmp() 924 union nf_inet_addr snet; in ip_vs_out_icmp() local 984 snet.ip = iph->saddr; in ip_vs_out_icmp() 985 return handle_response_icmp(AF_INET, skb, &snet, cih->protocol, cp, in ip_vs_out_icmp() [all …]
|