Lines Matching refs:nd_opt
174 struct nd_opt_hdr *nd_opt = (struct nd_opt_hdr *)opt; in ndisc_parse_options() local
176 if (!nd_opt || opt_len < 0 || !ndopts) in ndisc_parse_options()
183 l = nd_opt->nd_opt_len << 3; in ndisc_parse_options()
186 switch (nd_opt->nd_opt_type) { in ndisc_parse_options()
191 if (ndopts->nd_opt_array[nd_opt->nd_opt_type]) { in ndisc_parse_options()
194 nd_opt->nd_opt_type)); in ndisc_parse_options()
196 ndopts->nd_opt_array[nd_opt->nd_opt_type] = nd_opt; in ndisc_parse_options()
200 ndopts->nd_opts_pi_end = nd_opt; in ndisc_parse_options()
201 if (ndopts->nd_opt_array[nd_opt->nd_opt_type] == 0) in ndisc_parse_options()
202 ndopts->nd_opt_array[nd_opt->nd_opt_type] = nd_opt; in ndisc_parse_options()
211 nd_opt->nd_opt_type, nd_opt->nd_opt_len); in ndisc_parse_options()
214 nd_opt = ((void *)nd_opt) + l; in ndisc_parse_options()