Home
last modified time | relevance | path

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

/net/ipv4/netfilter/
Dnf_nat_helper.c289 struct nf_nat_seq *natseq) in sack_adjust() argument
296 if (after(ntohl(sack->start_seq) - natseq->offset_before, in sack_adjust()
297 natseq->correction_pos)) in sack_adjust()
299 - natseq->offset_after); in sack_adjust()
302 - natseq->offset_before); in sack_adjust()
304 if (after(ntohl(sack->end_seq) - natseq->offset_before, in sack_adjust()
305 natseq->correction_pos)) in sack_adjust()
307 - natseq->offset_after); in sack_adjust()
310 - natseq->offset_before); in sack_adjust()
/net/netfilter/
Dnf_conntrack_netlink.c282 dump_nat_seq_adj(struct sk_buff *skb, const struct nf_nat_seq *natseq, int type) in dump_nat_seq_adj() argument
291 htonl(natseq->correction_pos)); in dump_nat_seq_adj()
293 htonl(natseq->offset_before)); in dump_nat_seq_adj()
295 htonl(natseq->offset_after)); in dump_nat_seq_adj()
308 struct nf_nat_seq *natseq; in ctnetlink_dump_nat_seq_adj() local
314 natseq = &nat->seq[IP_CT_DIR_ORIGINAL]; in ctnetlink_dump_nat_seq_adj()
315 if (dump_nat_seq_adj(skb, natseq, CTA_NAT_SEQ_ADJ_ORIG) == -1) in ctnetlink_dump_nat_seq_adj()
318 natseq = &nat->seq[IP_CT_DIR_REPLY]; in ctnetlink_dump_nat_seq_adj()
319 if (dump_nat_seq_adj(skb, natseq, CTA_NAT_SEQ_ADJ_REPLY) == -1) in ctnetlink_dump_nat_seq_adj()
1002 change_nat_seq_adj(struct nf_nat_seq *natseq, struct nlattr *attr) in change_nat_seq_adj() argument
[all …]