Searched refs:this_way (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/netfilter/
H A Dnf_conntrack_seqadj.c14 struct nf_ct_seqadj *this_way; nf_ct_seqadj_init() local
22 this_way = &seqadj->seq[dir]; nf_ct_seqadj_init()
23 this_way->offset_before = off; nf_ct_seqadj_init()
24 this_way->offset_after = off; nf_ct_seqadj_init()
34 struct nf_ct_seqadj *this_way; nf_ct_seqadj_set() local
47 this_way = &seqadj->seq[dir]; nf_ct_seqadj_set()
48 if (this_way->offset_before == this_way->offset_after || nf_ct_seqadj_set()
49 before(this_way->correction_pos, ntohl(seq))) { nf_ct_seqadj_set()
50 this_way->correction_pos = ntohl(seq); nf_ct_seqadj_set()
51 this_way->offset_before = this_way->offset_after; nf_ct_seqadj_set()
52 this_way->offset_after += off; nf_ct_seqadj_set()
171 struct nf_ct_seqadj *this_way, *other_way; nf_ct_seq_adjust() local
174 this_way = &seqadj->seq[dir]; nf_ct_seq_adjust()
182 if (after(ntohl(tcph->seq), this_way->correction_pos)) nf_ct_seq_adjust()
183 seqoff = this_way->offset_after; nf_ct_seq_adjust()
185 seqoff = this_way->offset_before; nf_ct_seq_adjust()
219 struct nf_ct_seqadj *this_way; nf_ct_seq_offset() local
224 this_way = &seqadj->seq[dir]; nf_ct_seq_offset()
225 return after(seq, this_way->correction_pos) ? nf_ct_seq_offset()
226 this_way->offset_after : this_way->offset_before; nf_ct_seq_offset()

Completed in 57 milliseconds