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