/fuchsia/zircon/third_party/ulib/musl/src/network/ |
H A D | htons.c | 4 uint16_t htons(uint16_t n) { function
|
H A D | getservbyname_r.c | 51 se->s_port = htons(servs[0].port);
|
H A D | res_msend.c | 46 ns[nns].sin.sin_port = htons(53); 51 ns[nns].sin6.sin6_port = htons(53);
|
/fuchsia/zircon/bootloader/include/arpa/ |
H A D | inet.h | 7 uint16_t htons(uint16_t val);
|
/fuchsia/zircon/bootloader/lib/ |
H A D | inet.c | 15 uint16_t htons(uint16_t val) { function 24 return htons(val);
|
/fuchsia/zircon/third_party/ulib/musl/include/arpa/ |
H A D | inet.h | 11 uint16_t htons(uint16_t);
|
/fuchsia/zircon/system/ulib/inet6/ |
H A D | checksum.c | 30 sum = checksum(&ip->length, 2, htons(type));
|
H A D | inet6.c | 219 p->ip6.length = htons(length); 247 p->udp.src_port = htons(sport); 248 p->udp.dst_port = htons(dport); 249 p->udp.length = htons(length);
|
/fuchsia/zircon/system/ulib/tee-client-api/ |
H A D | tee-client-api.c | 28 *((uint16_t*)(out_bytes + 4)) = htons(uuid->timeMid); 29 *((uint16_t*)(out_bytes + 6)) = htons(uuid->timeHiAndVersion);
|
/fuchsia/zircon/bootloader/src/ |
H A D | inet6.c | 173 sum = checksum(&ip->length, 2, htons(type)); 199 p->ip6.length = htons(length); 226 p->udp.src_port = htons(sport); 227 p->udp.dst_port = htons(dport); 228 p->udp.length = htons(length); 281 sum = checksum(&ip->length, 2, htons(HDR_UDP)); 319 sum = checksum(&ip->length, 2, htons(HDR_ICMP6));
|
H A D | inet6.h | 102 #define htons(n) _swap16(n) macro
|
/fuchsia/zircon/kernel/lib/libc/include/ |
H A D | endian.h | 58 #define htons(h) BE16(h) macro
|
/fuchsia/zircon/system/host/loglistener/ |
H A D | loglistener.c | 58 addr.sin6_port = htons(33337);
|
/fuchsia/zircon/system/uapp/ping/ |
H A D | ping.cpp | 104 packet.hdr.un.echo.sequence = htons(sequence++);
|
/fuchsia/zircon/system/ulib/inet6/include/inet6/ |
H A D | inet6.h | 114 #define htons(n) _swap16(n) macro
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-example.c | 134 connection->out_addr.sin_port = htons(outgoing_port); 140 connection->in_addr.sin_port = htons(incoming_port);
|
H A D | tftp.c | 127 (msg)->opcode = htons((value & 0xff) | ((uint16_t)session->opcode_prefix << 8)); \ 129 (msg)->opcode = htons(value); \ 168 resp->err_code = htons(err_code); 188 resp->block = htons(session->block_number + session->window_index); 687 ack_data->block = htons(session->block_number & 0xffff);
|
H A D | tftp-test.cpp | 111 EXPECT_EQ(msg->opcode, htons(OPCODE_WRQ), "opcode should be 2 (WRQ)"); 118 EXPECT_EQ(msg->opcode, htons(OPCODE_RRQ), "opcode should be 1 (RRQ)"); 1776 unsigned int opcode = htons(msg->opcode); 1783 ack_msg.opcode = htons(OPCODE_ACK); 1784 ack_msg.block = htons(kAckBlock & 0xffff); 1812 ack_msg.block = htons((kAckBlock + 1) & 0xffff); 1871 EXPECT_EQ(msg->opcode, htons(OPCODE_ERROR)); 1872 EXPECT_EQ(msg->err_code, htons(TFTP_ERR_CODE_BUSY));
|
/fuchsia/zircon/system/host/bootserver/ |
H A D | bootserver.c | 233 target_addr.sin6_port = htons(NB_SERVER_PORT); 263 target_addr.sin6_port = htons(NB_SERVER_PORT); 485 addr.sin6_port = htons(NB_ADVERT_PORT);
|
H A D | tftp.c | 115 state->target_addr.sin6_port = htons(NB_TFTP_INCOMING_PORT);
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netprotocol.c | 63 addr.sin6_port = htons(port); 85 addr.sin6_port = htons(port);
|
H A D | netcp.c | 116 transport_info->target_addr.sin6_port = htons(NB_TFTP_INCOMING_PORT);
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | bsdsocket.c | 397 addr->sin_port = htons(ai[i].port); 408 addr->sin6_port = htons(ai[i].port);
|
/fuchsia/zircon/third_party/ulib/musl/include/netinet/ |
H A D | in.h | 79 uint16_t htons(uint16_t);
|
/fuchsia/zircon/system/uapp/netdump/ |
H A D | netdump.c | 134 uint16_t ethtype = htons(frame->h_proto);
|