Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
Dnf_synproxy_core.c183 const struct nf_conn_synproxy *synproxy) in synproxy_tstamp_adjust() argument
188 if (synproxy->tsoff == 0) in synproxy_tstamp_adjust()
217 synproxy->tsoff); in synproxy_tstamp_adjust()
222 synproxy->tsoff); in synproxy_tstamp_adjust()
664 struct nf_conn_synproxy *synproxy; in ipv4_synproxy_hook() local
674 synproxy = nfct_synproxy(ct); in ipv4_synproxy_hook()
675 if (!synproxy) in ipv4_synproxy_hook()
691 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - in ipv4_synproxy_hook()
705 synproxy->tsoff = 0; in ipv4_synproxy_hook()
729 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
[all …]
Dnf_conntrack_netlink.c464 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_dump_ct_synproxy() local
467 if (!synproxy) in ctnetlink_dump_ct_synproxy()
474 if (nla_put_be32(skb, CTA_SYNPROXY_ISN, htonl(synproxy->isn)) || in ctnetlink_dump_ct_synproxy()
475 nla_put_be32(skb, CTA_SYNPROXY_ITS, htonl(synproxy->its)) || in ctnetlink_dump_ct_synproxy()
476 nla_put_be32(skb, CTA_SYNPROXY_TSOFF, htonl(synproxy->tsoff))) in ctnetlink_dump_ct_synproxy()
1825 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_change_synproxy() local
1829 if (!synproxy) in ctnetlink_change_synproxy()
1843 synproxy->isn = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ISN])); in ctnetlink_change_synproxy()
1844 synproxy->its = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ITS])); in ctnetlink_change_synproxy()
1845 synproxy->tsoff = ntohl(nla_get_be32(tb[CTA_SYNPROXY_TSOFF])); in ctnetlink_change_synproxy()