Home
last modified time | relevance | path

Searched refs:synproxy (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/net/ipv4/netfilter/
Dipt_SYNPROXY.c320 struct nf_conn_synproxy *synproxy; in ipv4_synproxy_hook() local
330 synproxy = nfct_synproxy(ct); in ipv4_synproxy_hook()
331 if (synproxy == NULL) in ipv4_synproxy_hook()
347 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - in ipv4_synproxy_hook()
361 synproxy->tsoff = 0; in ipv4_synproxy_hook()
385 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
387 synproxy->its = opts.tsecr; in ipv4_synproxy_hook()
399 synproxy->tsoff = opts.tsval - synproxy->its; in ipv4_synproxy_hook()
410 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv4_synproxy_hook()
422 synproxy_tstamp_adjust(skb, thoff, th, ct, ctinfo, synproxy); in ipv4_synproxy_hook()
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_SYNPROXY.c335 struct nf_conn_synproxy *synproxy; in ipv6_synproxy_hook() local
347 synproxy = nfct_synproxy(ct); in ipv6_synproxy_hook()
348 if (synproxy == NULL) in ipv6_synproxy_hook()
368 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - in ipv6_synproxy_hook()
382 synproxy->tsoff = 0; in ipv6_synproxy_hook()
406 synproxy->isn = ntohl(th->ack_seq); in ipv6_synproxy_hook()
408 synproxy->its = opts.tsecr; in ipv6_synproxy_hook()
420 synproxy->tsoff = opts.tsval - synproxy->its; in ipv6_synproxy_hook()
431 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - ntohl(th->seq)); in ipv6_synproxy_hook()
443 synproxy_tstamp_adjust(skb, thoff, th, ct, ctinfo, synproxy); in ipv6_synproxy_hook()
/Linux-v4.19/net/netfilter/
Dnf_synproxy_core.c188 const struct nf_conn_synproxy *synproxy) in synproxy_tstamp_adjust() argument
193 if (synproxy->tsoff == 0) in synproxy_tstamp_adjust()
222 synproxy->tsoff); in synproxy_tstamp_adjust()
227 synproxy->tsoff); in synproxy_tstamp_adjust()
Dnf_conntrack_netlink.c465 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_dump_ct_synproxy() local
468 if (!synproxy) in ctnetlink_dump_ct_synproxy()
475 if (nla_put_be32(skb, CTA_SYNPROXY_ISN, htonl(synproxy->isn)) || in ctnetlink_dump_ct_synproxy()
476 nla_put_be32(skb, CTA_SYNPROXY_ITS, htonl(synproxy->its)) || in ctnetlink_dump_ct_synproxy()
477 nla_put_be32(skb, CTA_SYNPROXY_TSOFF, htonl(synproxy->tsoff))) in ctnetlink_dump_ct_synproxy()
1789 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_change_synproxy() local
1793 if (!synproxy) in ctnetlink_change_synproxy()
1806 synproxy->isn = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ISN])); in ctnetlink_change_synproxy()
1807 synproxy->its = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ITS])); in ctnetlink_change_synproxy()
1808 synproxy->tsoff = ntohl(nla_get_be32(tb[CTA_SYNPROXY_TSOFF])); in ctnetlink_change_synproxy()
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack_synproxy.h90 const struct nf_conn_synproxy *synproxy);