Lines Matching defs:opt
32 static void print_opt(struct nd_opt_hdr *opt, int len);
38 struct nd_opt_hdr *opt;
47 opt = (struct nd_opt_hdr *)&rs[1];
48 print_opt(opt, len);
55 struct nd_opt_hdr *opt;
77 opt = (struct nd_opt_hdr *)&ra[1];
78 print_opt(opt, len);
82 print_opt(struct nd_opt_hdr *opt, int len)
92 optlen = opt->nd_opt_len * 8;
97 switch (opt->nd_opt_type) {
99 po = (struct nd_opt_prefix_info *)opt;
122 mo = (struct nd_opt_mtu *)opt;
130 lo = (struct nd_opt_lla *)opt;
142 lo = (struct nd_opt_lla *)opt;
158 opt->nd_opt_type, opt->nd_opt_type);
161 opt = (struct nd_opt_hdr *)((char *)opt + optlen);