Lines Matching defs:opt
117 /* 3 = 1 (code) + 1 (len) + 1 (ptr) of src route opt. */
1072 pr_options(uchar_t *opt, int optlength)
1078 curlength = opt[1];
1079 switch (*opt) {
1085 opt++;
1091 pr_rropt(opt, curlength, _B_TRUE);
1096 pr_tsopt(opt, curlength);
1105 pr_rropt(opt, curlength, _B_FALSE);
1114 pr_rropt(opt, curlength, _B_FALSE);
1118 Printf(" <option %d, len %d>", *opt, curlength);
1124 opt += curlength;
1135 pr_rropt(uchar_t *opt, int length, boolean_t rrflag)
1141 rrp = (struct ip_sourceroute *)opt;
1174 pr_tsopt(uchar_t *opt, int length)
1185 tsp = (struct ip_timestamp *)opt;