Home
last modified time | relevance | path

Searched refs:optoff (Results 1 – 4 of 4) sorted by relevance

/linux/net/netfilter/
A Dnf_conntrack_seqadj.c124 unsigned int dir, optoff, optend; in nf_ct_sack_adjust() local
126 optoff = protoff + sizeof(struct tcphdr); in nf_ct_sack_adjust()
135 while (optoff < optend) { in nf_ct_sack_adjust()
137 unsigned char *op = skb->data + optoff; in nf_ct_sack_adjust()
143 optoff++; in nf_ct_sack_adjust()
147 if (optoff + 1 == optend || in nf_ct_sack_adjust()
148 optoff + op[1] > optend || in nf_ct_sack_adjust()
154 nf_ct_sack_block_adjust(skb, tcph, optoff + 2, in nf_ct_sack_adjust()
155 optoff+op[1], in nf_ct_sack_adjust()
157 optoff += op[1]; in nf_ct_sack_adjust()
A Dxt_dccp.c42 unsigned int optoff = __dccp_hdr_len(dh); in dccp_find_option() local
53 op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); in dccp_find_option()
A Dnf_synproxy_core.c190 unsigned int optoff, optend; in synproxy_tstamp_adjust() local
196 optoff = protoff + sizeof(struct tcphdr); in synproxy_tstamp_adjust()
202 while (optoff < optend) { in synproxy_tstamp_adjust()
203 unsigned char *op = skb->data + optoff; in synproxy_tstamp_adjust()
209 optoff++; in synproxy_tstamp_adjust()
212 if (optoff + 1 == optend || in synproxy_tstamp_adjust()
213 optoff + op[1] > optend || in synproxy_tstamp_adjust()
233 optoff += op[1]; in synproxy_tstamp_adjust()
/linux/net/ipv6/
A Dexthdrs.c93 icmpv6_param_prob(skb, ICMPV6_UNK_OPTION, optoff); in ip6_tlvopt_unknown()
269 optoff); in ipv6_dest_hao()
931 if (nh[optoff + 1] == 2) { in ipv6_hop_ra()
937 nh[optoff + 1]); in ipv6_hop_ra()
951 if (optoff & 3) in ipv6_hop_ioam()
1005 if (nh[optoff + 1] != 4 || (optoff & 3) != 2) { in ipv6_hop_jumbo()
1007 nh[optoff+1]); in ipv6_hop_jumbo()
1012 pkt_len = ntohl(*(__be32 *)(nh + optoff + 2)); in ipv6_hop_jumbo()
1046 if (nh[optoff + 1] < 8) in ipv6_hop_calipso()
1049 if (nh[optoff + 6] * 4 + 8 > nh[optoff + 1]) in ipv6_hop_calipso()
[all …]

Completed in 21 milliseconds