Lines Matching refs:msg_data
161 olsr_print_lq_neighbor (const u_char *msg_data, u_int hello_len) in olsr_print_lq_neighbor() argument
167 lq_neighbor = (struct olsr_lq_neighbor *)msg_data; in olsr_print_lq_neighbor()
175 msg_data += sizeof(struct olsr_lq_neighbor); in olsr_print_lq_neighbor()
184 olsr_print_neighbor (const u_char *msg_data, u_int hello_len) in olsr_print_neighbor() argument
195 printf("%s%s", ipaddr_string(msg_data), in olsr_print_neighbor()
198 msg_data += sizeof(struct in_addr); in olsr_print_neighbor()
219 const u_char *tptr, *msg_data; in olsr_print() local
273 msg_data = tptr + sizeof(struct olsr_msg); in olsr_print()
278 if (!TTEST2(*msg_data, sizeof(struct olsr_hello))) in olsr_print()
281 ptr.hello = (struct olsr_hello *)msg_data; in olsr_print()
284 msg_data += sizeof(struct olsr_hello); in olsr_print()
292 if (!TTEST2(*msg_data, sizeof(struct olsr_hello_link))) in olsr_print()
295 ptr.hello_link = (struct olsr_hello_link *)msg_data; in olsr_print()
306 msg_data += sizeof(struct olsr_hello_link); in olsr_print()
311 olsr_print_neighbor(msg_data, hello_len); in olsr_print()
313 olsr_print_lq_neighbor(msg_data, hello_len); in olsr_print()
316 msg_data += hello_len; in olsr_print()
323 if (!TTEST2(*msg_data, sizeof(struct olsr_tc))) in olsr_print()
326 ptr.tc = (struct olsr_tc *)msg_data; in olsr_print()
329 msg_data += sizeof(struct olsr_tc); in olsr_print()
333 olsr_print_neighbor(msg_data, msg_tlen); in olsr_print()
335 olsr_print_lq_neighbor(msg_data, msg_tlen); in olsr_print()
340 if (!TTEST2(*msg_data, sizeof(struct in_addr))) in olsr_print()
344 printf("\n\t interface address %s", ipaddr_string(msg_data)); in olsr_print()
345 msg_data += sizeof(struct in_addr); in olsr_print()
354 if (!TTEST2(*msg_data, sizeof(struct olsr_hna))) in olsr_print()
357 ptr.hna = (struct olsr_hna *)msg_data; in olsr_print()
366 msg_data += sizeof(struct olsr_hna); in olsr_print()
380 print_unknown_data(msg_data, "\n\t ", msg_tlen); in olsr_print()