Lines Matching refs:hello_len
235 const u_char *msg_data, u_int hello_len) in olsr_print_lq_neighbor4() argument
239 while (hello_len >= sizeof(struct olsr_lq_neighbor4)) { in olsr_print_lq_neighbor4()
252 hello_len -= sizeof(struct olsr_lq_neighbor4); in olsr_print_lq_neighbor4()
259 const u_char *msg_data, u_int hello_len) in olsr_print_lq_neighbor6() argument
263 while (hello_len >= sizeof(struct olsr_lq_neighbor6)) { in olsr_print_lq_neighbor6()
276 hello_len -= sizeof(struct olsr_lq_neighbor6); in olsr_print_lq_neighbor6()
286 const u_char *msg_data, u_int hello_len) in olsr_print_neighbor() argument
293 while (hello_len >= sizeof(struct in_addr)) { in olsr_print_neighbor()
303 hello_len -= sizeof(struct in_addr); in olsr_print_neighbor()
323 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local
448 hello_len = EXTRACT_16BITS(ptr.hello_link->len); in olsr_print()
452 if ((hello_len <= msg_tlen) in olsr_print()
453 && (hello_len >= sizeof(struct olsr_hello_link))) in olsr_print()
459 hello_len, in olsr_print()
467 hello_len -= sizeof(struct olsr_hello_link); in olsr_print()
469 ND_TCHECK2(*msg_data, hello_len); in olsr_print()
471 if (olsr_print_neighbor(ndo, msg_data, hello_len) == -1) in olsr_print()
475 if (olsr_print_lq_neighbor6(ndo, msg_data, hello_len) == -1) in olsr_print()
478 if (olsr_print_lq_neighbor4(ndo, msg_data, hello_len) == -1) in olsr_print()
483 msg_data += hello_len; in olsr_print()
484 msg_tlen -= hello_len; in olsr_print()