Lines Matching refs:ntohs
306 type = ntohs(type); in get_msg_ptr()
308 length = ntohs(length); in get_msg_ptr()
313 type = ntohs(*((uint16_t*)data)); in get_msg_ptr()
314 length = ntohs(*((uint16_t*)(data+2))); in get_msg_ptr()
359 iana_len = ntohs(*((uint16_t*)(t+2))); in parse_ia_na()
367 uint16_t sub_type = ntohs(*((uint16_t*)(t))); in parse_ia_na()
371 content_len = ntohs(*((uint16_t*)(t+2))); in parse_ia_na()
391 content_len = ntohs(*((uint16_t*)(t+2))); in parse_ia_na()
392 dhcp_data.status_code = ntohs(*((uint16_t*)(t+4))); in parse_ia_na()
397 content_len = ntohs(*((uint16_t*)(t+2))); in parse_ia_na()
617 if (ntohs(mymsg->udph.dest) == 546 && in dhcp6_main()