Lines Matching refs:addr_size
516 size_t addr_size = sizeof(struct in_addr); in olsr_print() local
519 addr_size = sizeof(struct in6_addr); in olsr_print()
521 while (msg_tlen >= addr_size) { in olsr_print()
522 ND_TCHECK2(*msg_data, addr_size); in olsr_print()
527 msg_data += addr_size; in olsr_print()
528 msg_tlen -= addr_size; in olsr_print()
620 u_int addr_size; in olsr_print() local
629 addr_size = 4; in olsr_print()
631 addr_size = 16; in olsr_print()
635 && ((name_entries * (4 + addr_size)) <= msg_tlen)) in olsr_print()
661 if ((name_entry_len > 0) && ((addr_size + name_entry_len) <= msg_tlen)) in olsr_print()
676 if (msg_tlen < addr_size + name_entry_len + name_entry_padding) in olsr_print()
679 ND_TCHECK2(*msg_data, addr_size + name_entry_len + name_entry_padding); in olsr_print()
687 (void)fn_printn(ndo, msg_data + addr_size, name_entry_len, NULL); in olsr_print()
690 msg_data += addr_size + name_entry_len + name_entry_padding; in olsr_print()
691 msg_tlen -= addr_size + name_entry_len + name_entry_padding; in olsr_print()