Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv6/
Dndisc.c174 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()
[all …]