[Olsr-dev] hna and tc set

Airton Ishimori (spam-protected)
Tue Apr 6 19:31:50 CEST 2010


In hna_set.c there are bellow code lines. Why has that add 8? Would be
netmask size?

     if (olsr_msgsize < 8 + olsr_cnf->ipsize) {
    #ifndef WIN32
        OLSR_PRINTF(1, "HNA message size %d too small (at least %zu)!\n",
olsr_msgsize,
                    8 + olsr_cnf->ipsize);
    #endif
        return false;
      }

and in the tc_set.c has bellow code lines. What is lower_border and
upper_border?

    /* Get borders */
      pkt_get_u8(&curr, &lower_border);
      pkt_get_u8(&curr, &upper_border);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100406/e7a5b926/attachment.html>


More information about the Olsr-dev mailing list