Home
last modified time | relevance | path

Searched refs:unaligned_write_be16 (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp-identifier.c89 unaligned_write_be16(&ret_duid->type, DUID_TYPE_LLT); in dhcp_identifier_set_duid_llt()
90 unaligned_write_be16(&ret_duid->llt.htype, arp_type); in dhcp_identifier_set_duid_llt()
114 unaligned_write_be16(&ret_duid->type, DUID_TYPE_LL); in dhcp_identifier_set_duid_ll()
115 unaligned_write_be16(&ret_duid->ll.htype, arp_type); in dhcp_identifier_set_duid_ll()
141 unaligned_write_be16(&ret_duid->type, DUID_TYPE_EN); in dhcp_identifier_set_duid_en()
168 unaligned_write_be16(&ret_duid->type, DUID_TYPE_UUID); in dhcp_identifier_set_duid_uuid()
Ddhcp6-option.c222 unaligned_write_be16(*buf + offsetof(DHCP6Option, code), optcode); in option_append_hdr()
223 unaligned_write_be16(*buf + offsetof(DHCP6Option, len), optlen); in option_append_hdr()
267 unaligned_write_be16(p + 4, options->option); in dhcp6_option_append_vendor_option()
268 unaligned_write_be16(p + 6, options->length); in dhcp6_option_append_vendor_option()
440 unaligned_write_be16(&p[offset], len); in dhcp6_option_append_user_class()
482 unaligned_write_be16(&p[offset], len); in dhcp6_option_append_vendor_class()
Dsd-lldp-tx.c395 unaligned_write_be16(packet + offset, LLDP_TX_TTL); in lldp_tx_create_packet()
439 unaligned_write_be16(packet + offset, lldp_tx->supported_capabilities); in lldp_tx_create_packet()
441 unaligned_write_be16(packet + offset, lldp_tx->enabled_capabilities); in lldp_tx_create_packet()
/systemd-251/src/basic/
Dunaligned.h27 static inline void unaligned_write_be16(void *_u, uint16_t a) { in unaligned_write_be16() function
88 #define unaligned_write_ne16 unaligned_write_be16
/systemd-251/src/test/
Dtest-unaligned.c34 unaligned_write_be16(&scratch[0], 0x0001); in TEST()
37 unaligned_write_be16(&scratch[1], 0x0102); in TEST()
/systemd-251/src/resolve/
Dresolved-dns-packet.c452 unaligned_write_be16(d, v); in dns_packet_append_uint16()
2447 unaligned_write_be16(DNS_PACKET_DATA(p) + p->opt_start + 3, max_udp_size); in dns_packet_patch_max_udp_size()
/systemd-251/src/network/netdev/
Dmacsec.c585 unaligned_write_be16(dest, port); in config_parse_macsec_port()