be16toh 165 src/libsystemd-network/dhcp-packet.c if (len < hdrlen + be16toh(packet->udp.len)) { be16toh 168 src/libsystemd-network/dhcp-packet.c hdrlen + be16toh(packet->udp.len)); be16toh 172 src/libsystemd-network/dhcp-packet.c if (be16toh(packet->udp.dest) != DHCP_PORT_CLIENT) { be16toh 175 src/libsystemd-network/dhcp-packet.c be16toh(packet->udp.dest), DHCP_PORT_CLIENT); be16toh 193 src/libsystemd-network/dhcp-packet.c be16toh(packet->udp.len) + 12)) { be16toh 234 src/libsystemd-network/sd-dhcp-lease.c *ret = be16toh(val); be16toh 574 src/libsystemd-network/sd-dhcp-server.c req->max_optlen = be16toh(*(be16_t*)option) - be16toh 101 src/resolve/resolved-dns-packet.h #define DNS_PACKET_QR(p) ((be16toh(DNS_PACKET_HEADER(p)->flags) >> 15) & 1) be16toh 102 src/resolve/resolved-dns-packet.h #define DNS_PACKET_OPCODE(p) ((be16toh(DNS_PACKET_HEADER(p)->flags) >> 11) & 15) be16toh 103 src/resolve/resolved-dns-packet.h #define DNS_PACKET_RCODE(p) (be16toh(DNS_PACKET_HEADER(p)->flags) & 15) be16toh 104 src/resolve/resolved-dns-packet.h #define DNS_PACKET_TC(p) ((be16toh(DNS_PACKET_HEADER(p)->flags) >> 9) & 1) be16toh 105 src/resolve/resolved-dns-packet.h #define DNS_PACKET_C(p) ((be16toh(DNS_PACKET_HEADER(p)->flags) >> 10) & 1) be16toh 106 src/resolve/resolved-dns-packet.h #define DNS_PACKET_T(p) ((be16toh(DNS_PACKET_HEADER(p)->flags) >> 8) & 1) be16toh 107 src/resolve/resolved-dns-packet.h #define DNS_PACKET_QDCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->qdcount) be16toh 108 src/resolve/resolved-dns-packet.h #define DNS_PACKET_ANCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->ancount) be16toh 109 src/resolve/resolved-dns-packet.h #define DNS_PACKET_NSCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->nscount) be16toh 110 src/resolve/resolved-dns-packet.h #define DNS_PACKET_ARCOUNT(p) be16toh(DNS_PACKET_HEADER(p)->arcount) be16toh 254 src/resolve/resolved-dns-stream.c if (be16toh(s->read_size) < DNS_PACKET_HEADER_SIZE) be16toh 257 src/resolve/resolved-dns-stream.c if (s->n_read < sizeof(s->read_size) + be16toh(s->read_size)) { be16toh 261 src/resolve/resolved-dns-stream.c r = dns_packet_new(&s->read_packet, s->protocol, be16toh(s->read_size)); be16toh 265 src/resolve/resolved-dns-stream.c s->read_packet->size = be16toh(s->read_size); be16toh 273 src/resolve/resolved-dns-stream.c s->read_packet->sender_port = be16toh(s->peer.in.sin_port); be16toh 275 src/resolve/resolved-dns-stream.c s->read_packet->destination_port = be16toh(s->local.in.sin_port); be16toh 279 src/resolve/resolved-dns-stream.c s->read_packet->sender_port = be16toh(s->peer.in6.sin6_port); be16toh 281 src/resolve/resolved-dns-stream.c s->read_packet->destination_port = be16toh(s->local.in6.sin6_port); be16toh 292 src/resolve/resolved-dns-stream.c sizeof(s->read_size) + be16toh(s->read_size) - s->n_read); be16toh 303 src/resolve/resolved-dns-stream.c if (s->n_read >= sizeof(s->read_size) + be16toh(s->read_size)) { be16toh 907 src/resolve/resolved-manager.c p->sender_port = be16toh(sa.in.sin_port); be16toh 910 src/resolve/resolved-manager.c p->sender_port = be16toh(sa.in6.sin6_port); be16toh 137 src/timesync/timesyncd-manager.c return be16toh(ts->sec) + (be16toh(ts->frac) / 65536.0);