Lines Matching defs:opt
659 const struct rpl_dio_genoption *opt,
665 ND_TCHECK(opt->rpl_dio_len);
667 while((opt->rpl_dio_type == RPL_OPT_PAD0 &&
668 (const u_char *)opt < ndo->ndo_snapend) ||
669 ND_TTEST2(*opt,(opt->rpl_dio_len+2))) {
671 unsigned int optlen = opt->rpl_dio_len+2;
672 if(opt->rpl_dio_type == RPL_OPT_PAD0) {
674 ND_PRINT((ndo, " opt:pad0"));
676 ND_PRINT((ndo, " opt:%s len:%u ",
677 tok2str(rpl_subopt_values, "subopt:%u", opt->rpl_dio_type),
680 unsigned int paylen = opt->rpl_dio_len;
684 ((const uint8_t *)opt) + RPL_DIO_GENOPTION_LEN, /* content of DIO option */
688 opt = (const struct rpl_dio_genoption *)(((const char *)opt) + optlen);
690 ND_TCHECK(opt->rpl_dio_len);
718 const struct rpl_dio_genoption *opt = (const struct rpl_dio_genoption *)&dio[1];
719 rpl_dio_printopt(ndo, opt, length);
758 const struct rpl_dio_genoption *opt = (const struct rpl_dio_genoption *)bp;
759 rpl_dio_printopt(ndo, opt, length);
802 const struct rpl_dio_genoption *opt = (const struct rpl_dio_genoption *)bp;
803 rpl_dio_printopt(ndo, opt, length);