Home | History | Annotate | Download | only in dist

Lines Matching defs:hello_len

239                         const u_char *msg_data, u_int hello_len)
243 while (hello_len >= sizeof(struct olsr_lq_neighbor4)) {
255 hello_len -= sizeof(struct olsr_lq_neighbor4);
264 const u_char *msg_data, u_int hello_len)
268 while (hello_len >= sizeof(struct olsr_lq_neighbor6)) {
280 hello_len -= sizeof(struct olsr_lq_neighbor6);
292 const u_char *msg_data, u_int hello_len)
299 while (hello_len >= sizeof(nd_ipv4)) {
305 hello_len -= sizeof(nd_ipv4);
325 u_int msg_type, msg_len, msg_tlen, hello_len;
451 hello_len = GET_BE_U_2(ptr.hello_link->len);
455 if ((hello_len <= msg_tlen)
456 && (hello_len >= sizeof(struct olsr_hello_link)))
462 hello_len,
470 hello_len -= sizeof(struct olsr_hello_link);
472 ND_TCHECK_LEN(msg_data, hello_len);
474 if (olsr_print_neighbor(ndo, msg_data, hello_len) == -1)
478 if (olsr_print_lq_neighbor6(ndo, msg_data, hello_len) == -1)
481 if (olsr_print_lq_neighbor4(ndo, msg_data, hello_len) == -1)
486 msg_data += hello_len;
487 msg_tlen -= hello_len;