Searched refs:htobe16 (Results 1 - 19 of 19) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | dhcp-packet.c | 96 packet->ip.tot_len = htobe16(len); 104 packet->udp.source = htobe16(source_port); 105 packet->udp.dest = htobe16(destination_port); 107 packet->udp.len = htobe16(len - DHCP_IP_SIZE);
|
H A D | dhcp6-network.c | 38 .in6.sin6_port = htobe16(DHCP6_PORT_CLIENT), 78 .in6.sin6_port = htobe16(DHCP6_PORT_SERVER),
|
H A D | dhcp-network.c | 76 BPF_STMT(BPF_LD + BPF_IMM, htobe16(*((unsigned short *) (((char *) eth_mac) + 4)))), /* A <- remainder of client's MAC */ 160 .in.sin_port = htobe16(port), 221 .in.sin_port = htobe16(port),
|
H A D | dhcp6-option.c | 55 option->code = htobe16(optcode); 56 option->len = htobe16(optlen);
|
H A D | sd-dhcp6-client.c | 214 client->duid.type = htobe16(type); 257 if (client->req_opts[t] == htobe16(option)) 264 client->req_opts[client->req_opts_len++] = htobe16(option); 421 elapsed_time = htobe16(elapsed_usec / USEC_PER_MSEC / 10); 1299 client->req_opts[t] = htobe16(default_req_opts[t]);
|
H A D | arp-util.c | 55 BPF_STMT(BPF_LD + BPF_IMM, htobe16(*((uint16_t *) (((char *) eth_mac) + 4)))), /* A <- remainder of client's MAC */
|
H A D | sd-dhcp-server.c | 287 .in.sin_port = htobe16(DHCP_PORT_CLIENT), 339 return req->message->flags & htobe16(0x8000); 391 packet->dhcp.flags = htobe16(0x8000);
|
H A D | sd-dhcp-client.c | 447 packet->dhcp.secs = htobe16(secs); 461 packet->dhcp.flags = htobe16(0x8000); 536 max_size = htobe16(size);
|
/systemd/src/basic/ |
H A D | sparse-endian.h | 43 #undef htobe16 macro 76 static inline be16_t htobe16(uint16_t value) { return (be16_t __force) bswap_16_on_le(value); } function
|
/systemd/src/network/ |
H A D | networkd-netdev-vxlan.c | 113 r = sd_netlink_message_append_u16(m, IFLA_VXLAN_PORT, htobe16(v->dest_port)); 120 port_range.low = htobe16(v->port_range.low); 121 port_range.high = htobe16(v->port_range.high);
|
/systemd/src/resolve/ |
H A D | resolved-dns-scope.c | 320 sa.in.sin_port = htobe16(port); 324 sa.in6.sin6_port = htobe16(port); 337 sa.in.sin_port = htobe16(port); 341 sa.in6.sin6_port = htobe16(port); 620 DNS_PACKET_HEADER(p)->flags = htobe16(DNS_PACKET_MAKE_FLAGS( 638 DNS_PACKET_HEADER(p)->qdcount = htobe16(q->n_keys); 648 DNS_PACKET_HEADER(p)->ancount = htobe16(answer->n_rrs); 658 DNS_PACKET_HEADER(p)->arcount = htobe16(soa->n_rrs); 809 DNS_PACKET_HEADER(p)->flags = htobe16(DNS_PACKET_MAKE_FLAGS( 824 DNS_PACKET_HEADER(p)->qdcount = htobe16( [all...] |
H A D | resolved-llmnr.c | 126 .in.sin_port = htobe16(LLMNR_PORT), 206 .in6.sin6_port = htobe16(LLMNR_PORT), 334 .in.sin_port = htobe16(LLMNR_PORT), 408 .in6.sin6_port = htobe16(LLMNR_PORT),
|
H A D | resolved-mdns.c | 138 .in.sin_port = htobe16(MDNS_PORT), 215 .in6.sin6_port = htobe16(MDNS_PORT),
|
H A D | resolved-dns-packet.c | 79 h->flags = htobe16(DNS_PACKET_MAKE_FLAGS(0 /* qr */, 91 h->flags = htobe16(DNS_PACKET_MAKE_FLAGS(0 /* qr */, 105 h->flags = htobe16(DNS_PACKET_MAKE_FLAGS(0 /* qr */, 745 DNS_PACKET_HEADER(p)->arcount = htobe16(DNS_PACKET_ARCOUNT(p) + 1); 775 DNS_PACKET_HEADER(p)->arcount = htobe16(DNS_PACKET_ARCOUNT(p) - 1);
|
H A D | resolved-dns-stream.c | 399 s->write_size = htobe16(p->size);
|
H A D | resolved-dns-cache.c | 1007 DNS_PACKET_HEADER(p)->ancount = htobe16(ancount); 1026 DNS_PACKET_HEADER(p)->ancount = htobe16(ancount);
|
H A D | resolved-manager.c | 820 sa.in.sin_port = htobe16(port), 869 sa.in6.sin6_port = htobe16(port),
|
H A D | resolved-dns-transaction.c | 1381 DNS_PACKET_HEADER(p)->qdcount = htobe16(qdcount); 1416 DNS_PACKET_HEADER(p)->qdcount = htobe16(1);
|
H A D | resolved-dns-dnssec.c | 455 v = htobe16(v);
|
Completed in 5169 milliseconds