Lines Matching refs:optlen
110 int optlen = 0; in zero_out_mutable_opts() local
120 optlen = 1; in zero_out_mutable_opts()
125 optlen = opt[off+1]+2; in zero_out_mutable_opts()
126 if (len < optlen) in zero_out_mutable_opts()
133 off += optlen; in zero_out_mutable_opts()
134 len -= optlen; in zero_out_mutable_opts()
154 int optlen = 0; in ipv6_rearrange_destopt() local
164 optlen = 1; in ipv6_rearrange_destopt()
169 optlen = opt[off+1]+2; in ipv6_rearrange_destopt()
170 if (len < optlen) in ipv6_rearrange_destopt()
194 off += optlen; in ipv6_rearrange_destopt()
195 len -= optlen; in ipv6_rearrange_destopt()