Searched refs:unaligned_read_be16 (Results 1 – 10 of 10) sorted by relevance
9 static inline uint16_t unaligned_read_be16(const void *_u) { in unaligned_read_be16() function84 #define unaligned_read_ne16 unaligned_read_be16
16 assert_se(unaligned_read_be16(&data[0]) == 0x0001); in TEST()17 assert_se(unaligned_read_be16(&data[1]) == 0x0102); in TEST()
349 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()
514 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()
272 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()
42 …BPF_STMT(BPF_LDX + BPF_IMM, unaligned_read_be16(&mac->ether_addr_octet[4])), /* X <- remainder o… in arp_update_filter()
66 …BPF_STMT(BPF_LDX + BPF_IMM, unaligned_read_be16(ð_mac->ether_addr_octet[4])), /* X <- rem… in _bind_raw_socket()
771 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()
360 *ret = unaligned_read_be16((be16_t*) option); in lease_parse_u16()
1352 *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()