Lines Matching defs:end
184 struct nd_opt_hdr *end)
187 if (!cur || !end || cur >= end)
192 } while (cur < end && cur->nd_opt_type != type);
193 return cur <= end && cur->nd_opt_type == type ? cur : NULL;
209 struct nd_opt_hdr *end)
211 if (!cur || !end || cur >= end)
215 } while (cur < end && !ndisc_is_useropt(dev, cur));
216 return cur <= end && ndisc_is_useropt(dev, cur) ? cur : NULL;