Lines Matching refs:htons
178 *((uint16_t*)tmp) = htons(option_id); in fill_option()
179 *(uint16_t*)(tmp+2) = htons(option_len); in fill_option()
191 duid->type = htons(1); in fill_clientID()
192 duid->hwtype = htons(1); in fill_clientID()
212 *(uint16_t*)(tmp+4) = htons(23); in fill_optionRequest()
213 *(uint16_t*)(tmp+6) = htons(24); in fill_optionRequest()
222 *(uint16_t*)(tmp+6) = htons(0); in fill_elapsedTime()
246 TT.sock = xsocket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in mode_raw()
250 sockll.sll_protocol = htons(ETH_P_IPV6); in mode_raw()
284 addr6.sin6_port = htons(DHCPC_SERVER_PORT); //SERVER_PORT in send_msg()
572 sinaddr6.sin6_port = htons(DHCPC_CLIENT_PORT); in dhcp6_main()