Home
last modified time | relevance | path

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

/Linux-v5.15/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()
669 struct nf_conn_synproxy *synproxy; in ipv4_synproxy_hook() local
679 synproxy = nfct_synproxy(ct); in ipv4_synproxy_hook()
680 if (!synproxy) in ipv4_synproxy_hook()
696 nf_ct_seqadj_init(ct, ctinfo, synproxy->isn - in ipv4_synproxy_hook()
710 synproxy->tsoff = 0; in ipv4_synproxy_hook()
733 synproxy->isn = ntohl(th->ack_seq); in ipv4_synproxy_hook()
[all …]
Dnf_conntrack_netlink.c474 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_dump_ct_synproxy() local
477 if (!synproxy) in ctnetlink_dump_ct_synproxy()
484 if (nla_put_be32(skb, CTA_SYNPROXY_ISN, htonl(synproxy->isn)) || in ctnetlink_dump_ct_synproxy()
485 nla_put_be32(skb, CTA_SYNPROXY_ITS, htonl(synproxy->its)) || in ctnetlink_dump_ct_synproxy()
486 nla_put_be32(skb, CTA_SYNPROXY_TSOFF, htonl(synproxy->tsoff))) in ctnetlink_dump_ct_synproxy()
2136 struct nf_conn_synproxy *synproxy = nfct_synproxy(ct); in ctnetlink_change_synproxy() local
2140 if (!synproxy) in ctnetlink_change_synproxy()
2154 synproxy->isn = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ISN])); in ctnetlink_change_synproxy()
2155 synproxy->its = ntohl(nla_get_be32(tb[CTA_SYNPROXY_ITS])); in ctnetlink_change_synproxy()
2156 synproxy->tsoff = ntohl(nla_get_be32(tb[CTA_SYNPROXY_TSOFF])); in ctnetlink_change_synproxy()