Lines Matching refs:hello_len
183 const u_char *msg_data, u_int hello_len) in olsr_print_lq_neighbor4() argument
187 while (hello_len >= sizeof(struct olsr_lq_neighbor4)) { in olsr_print_lq_neighbor4()
200 hello_len -= sizeof(struct olsr_lq_neighbor4); in olsr_print_lq_neighbor4()
208 const u_char *msg_data, u_int hello_len) in olsr_print_lq_neighbor6() argument
212 while (hello_len >= sizeof(struct olsr_lq_neighbor6)) { in olsr_print_lq_neighbor6()
225 hello_len -= sizeof(struct olsr_lq_neighbor6); in olsr_print_lq_neighbor6()
236 const u_char *msg_data, u_int hello_len) in olsr_print_neighbor() argument
243 while (hello_len >= sizeof(struct in_addr)) { in olsr_print_neighbor()
253 hello_len -= sizeof(struct in_addr); in olsr_print_neighbor()
273 u_int msg_type, msg_len, msg_tlen, hello_len; in olsr_print() local
400 hello_len = EXTRACT_16BITS(ptr.hello_link->len); in olsr_print()
404 if ((hello_len <= msg_tlen) in olsr_print()
405 && (hello_len >= sizeof(struct olsr_hello_link))) in olsr_print()
411 hello_len, in olsr_print()
419 hello_len -= sizeof(struct olsr_hello_link); in olsr_print()
421 ND_TCHECK2(*msg_data, hello_len); in olsr_print()
423 if (olsr_print_neighbor(ndo, msg_data, hello_len) == -1) in olsr_print()
428 if (olsr_print_lq_neighbor6(ndo, msg_data, hello_len) == -1) in olsr_print()
433 if (olsr_print_lq_neighbor4(ndo, msg_data, hello_len) == -1) in olsr_print()
438 msg_data += hello_len; in olsr_print()
439 msg_tlen -= hello_len; in olsr_print()