Lines Matching defs:opt
786 struct nd_opt_hdr *opt;
788 for (; ilen >= sizeof (*opt); ) {
789 opt = (struct nd_opt_hdr *)optc;
790 if (opt->nd_opt_len == 0)
792 switch (opt->nd_opt_type) {
801 if (ilen < (int)opt->nd_opt_len * 8)
806 lopt = (struct nd_opt_lla *)opt;
843 if (opt->nd_opt_len != MTU_OPTION_LENGTH ||
848 mopt = (struct nd_opt_mtu *)opt;
860 if (opt->nd_opt_len != PREFIX_OPTION_LENGTH ||
863 popt = (struct nd_opt_prefix_info *)opt;
901 optc += opt->nd_opt_len * 8;
902 ilen -= opt->nd_opt_len * 8;