Home
last modified time | relevance | path

Searched refs:unaligned_read_be16 (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/basic/
Dunaligned.h9 static inline uint16_t unaligned_read_be16(const void *_u) { in unaligned_read_be16() function
84 #define unaligned_read_ne16 unaligned_read_be16
/systemd-251/src/test/
Dtest-unaligned.c16 assert_se(unaligned_read_be16(&data[0]) == 0x0001); in TEST()
17 assert_se(unaligned_read_be16(&data[1]) == 0x0102); in TEST()
/systemd-251/src/udev/cdrom_id/
Dcdrom_id.c349 r = set_drive_feature(c, (Feature) unaligned_read_be16(&profiles[i])); in feature_profiles()
433 cur_profile = unaligned_read_be16(&features[6]); in cd_profiles()
475 feature = unaligned_read_be16(&features[i]); in cd_profiles()
682 len = unaligned_read_be16(header) + 2; in cd_media_toc()
/systemd-251/src/libsystemd-network/
Ddhcp6-option.c514 len = unaligned_read_be16(buf + *offset + offsetof(DHCP6Option, len)); in dhcp6_option_parse()
519 *ret_option_code = unaligned_read_be16(buf + *offset + offsetof(DHCP6Option, code)); in dhcp6_option_parse()
545 return unaligned_read_be16(data); in dhcp6_option_parse_status()
Dlldp-neighbor.c272 n->ttl = unaligned_read_be16(p); in lldp_neighbor_parse()
299 n->system_capabilities = unaligned_read_be16(p); in lldp_neighbor_parse()
300 n->enabled_capabilities = unaligned_read_be16(p + 2); in lldp_neighbor_parse()
Darp-util.c42 …BPF_STMT(BPF_LDX + BPF_IMM, unaligned_read_be16(&mac->ether_addr_octet[4])), /* X <- remainder o… in arp_update_filter()
Ddhcp-network.c66 …BPF_STMT(BPF_LDX + BPF_IMM, unaligned_read_be16(&eth_mac->ether_addr_octet[4])), /* X <- rem… in _bind_raw_socket()
Dsd-dhcp-server.c771 if (len == 2 && unaligned_read_be16(option) >= sizeof(DHCPPacket)) in parse_request()
772 req->max_optlen = unaligned_read_be16(option) - sizeof(DHCPPacket); in parse_request()
Dsd-dhcp-lease.c360 *ret = unaligned_read_be16((be16_t*) option); in lease_parse_u16()
/systemd-251/src/resolve/
Dresolved-dns-packet.c1352 *ret = unaligned_read_be16(d); in dns_packet_read_uint16()
2166 option_code = unaligned_read_be16(p); in opt_is_good()
2167 option_length = unaligned_read_be16(p + 2); in opt_is_good()
2576 code = unaligned_read_be16(d); in dns_packet_has_nsid_request()
2577 length = unaligned_read_be16(d + 2); in dns_packet_has_nsid_request()