/linux-4.1.27/net/ipv4/netfilter/ |
H A D | ipt_SYNPROXY.c | 112 synproxy_send_server_syn(const struct synproxy_net *snet, synproxy_send_server_syn() argument 151 synproxy_send_tcp(skb, nskb, &snet->tmpl->ct_general, IP_CT_NEW, synproxy_send_server_syn() 156 synproxy_send_server_ack(const struct synproxy_net *snet, synproxy_send_server_ack() argument 195 synproxy_send_client_ack(const struct synproxy_net *snet, synproxy_send_client_ack() argument 233 synproxy_recv_client_ack(const struct synproxy_net *snet, synproxy_recv_client_ack() argument 241 this_cpu_inc(snet->stats->cookie_invalid); synproxy_recv_client_ack() 245 this_cpu_inc(snet->stats->cookie_valid); synproxy_recv_client_ack() 252 synproxy_send_server_syn(snet, skb, th, opts, recv_seq); synproxy_recv_client_ack() 260 struct synproxy_net *snet = synproxy_pernet(dev_net(par->in)); synproxy_tg4() local 276 this_cpu_inc(snet->stats->syn_received); synproxy_tg4() 294 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); synproxy_tg4() 305 struct synproxy_net *snet = synproxy_pernet(dev_net(nhs->in ? : nhs->out)); ipv4_synproxy_hook() local 349 this_cpu_inc(snet->stats->conn_reopened); ipv4_synproxy_hook() 362 if (synproxy_recv_client_ack(snet, skb, th, &opts, ipv4_synproxy_hook() 364 this_cpu_inc(snet->stats->cookie_retrans); ipv4_synproxy_hook() 388 synproxy_send_server_ack(snet, state, skb, th, &opts); ipv4_synproxy_hook() 393 synproxy_send_client_ack(snet, skb, th, &opts); ipv4_synproxy_hook()
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_synproxy_core.c | 246 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); synproxy_cpu_seq_start() local 256 return per_cpu_ptr(snet->stats, cpu); synproxy_cpu_seq_start() 264 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); synproxy_cpu_seq_next() local 271 return per_cpu_ptr(snet->stats, cpu); synproxy_cpu_seq_next() 350 struct synproxy_net *snet = synproxy_pernet(net); synproxy_net_init() local 368 snet->tmpl = ct; synproxy_net_init() 370 snet->stats = alloc_percpu(struct synproxy_stats); synproxy_net_init() 371 if (snet->stats == NULL) synproxy_net_init() 381 free_percpu(snet->stats); synproxy_net_init() 390 struct synproxy_net *snet = synproxy_pernet(net); synproxy_net_exit() local 392 nf_ct_put(snet->tmpl); synproxy_net_exit() 394 free_percpu(snet->stats); synproxy_net_exit()
|
/linux-4.1.27/net/ipv6/netfilter/ |
H A D | ip6t_SYNPROXY.c | 127 synproxy_send_server_syn(const struct synproxy_net *snet, synproxy_send_server_syn() argument 166 synproxy_send_tcp(skb, nskb, &snet->tmpl->ct_general, IP_CT_NEW, synproxy_send_server_syn() 171 synproxy_send_server_ack(const struct synproxy_net *snet, synproxy_send_server_ack() argument 210 synproxy_send_client_ack(const struct synproxy_net *snet, synproxy_send_client_ack() argument 248 synproxy_recv_client_ack(const struct synproxy_net *snet, synproxy_recv_client_ack() argument 256 this_cpu_inc(snet->stats->cookie_invalid); synproxy_recv_client_ack() 260 this_cpu_inc(snet->stats->cookie_valid); synproxy_recv_client_ack() 267 synproxy_send_server_syn(snet, skb, th, opts, recv_seq); synproxy_recv_client_ack() 275 struct synproxy_net *snet = synproxy_pernet(dev_net(par->in)); synproxy_tg6() local 291 this_cpu_inc(snet->stats->syn_received); synproxy_tg6() 309 synproxy_recv_client_ack(snet, skb, th, &opts, ntohl(th->seq)); synproxy_tg6() 320 struct synproxy_net *snet = synproxy_pernet(dev_net(nhs->in ? : nhs->out)); ipv6_synproxy_hook() local 371 this_cpu_inc(snet->stats->conn_reopened); ipv6_synproxy_hook() 384 if (synproxy_recv_client_ack(snet, skb, th, &opts, ipv6_synproxy_hook() 386 this_cpu_inc(snet->stats->cookie_retrans); ipv6_synproxy_hook() 410 synproxy_send_server_ack(snet, state, skb, th, &opts); ipv6_synproxy_hook() 415 synproxy_send_client_ack(snet, skb, th, &opts); ipv6_synproxy_hook()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 246 union nf_inet_addr snet; /* source network of the client, ip_vs_sched_persist() local 252 ipv6_addr_prefix(&snet.in6, &iph->saddr.in6, ip_vs_sched_persist() 256 snet.ip = iph->saddr.ip & svc->netmask; ip_vs_sched_persist() 262 IP_VS_DBG_ADDR(svc->af, &snet)); ip_vs_sched_persist() 304 if (ip_vs_conn_fill_param_persist(svc, skb, protocol, &snet, 0, ip_vs_sched_persist() 817 union nf_inet_addr *snet, handle_response_icmp() 834 IP_VS_DBG_ADDR(af, snet)); handle_response_icmp() 885 union nf_inet_addr snet; ip_vs_out_icmp() local 944 snet.ip = iph->saddr; ip_vs_out_icmp() 945 return handle_response_icmp(AF_INET, skb, &snet, cih->protocol, cp, ip_vs_out_icmp() 958 union nf_inet_addr snet; ip_vs_out_icmp_v6() local 1008 snet.in6 = ciph.saddr.in6; ip_vs_out_icmp_v6() 1010 return handle_response_icmp(AF_INET6, skb, &snet, ciph.protocol, cp, ip_vs_out_icmp_v6() 816 handle_response_icmp(int af, struct sk_buff *skb, union nf_inet_addr *snet, __u8 protocol, struct ip_vs_conn *cp, struct ip_vs_protocol *pp, unsigned int offset, unsigned int ihl, unsigned int hooknum) handle_response_icmp() argument
|
/linux-4.1.27/drivers/net/appletalk/ |
H A D | ltpc.c | 129 * Fix debug_print_skb. Kludge outgoing snet to 0 when using startup
|