Home
last modified time | relevance | path

Searched refs:GET16 (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/geom/raid/
H A Dmd_ddf.c135 #define GET16(m, f) ((m)->bigendian ? be16dec(&(m)->f) : le16dec(&(m)->f)) macro
180 GET16((m), hdr->Configuration_Record_Length))
183 (n) * GET16((m), hdr->Configuration_Record_Length) * \
187 (n) * GET16((m), hdr->Configuration_Record_Length) * \
242 printf("Open_Flag 0x%02x\n", GET16(meta, hdr->Open_Flag)); in g_raid_md_ddf_print()
243 printf("Foreign_Flag 0x%02x\n", GET16(meta, hdr->Foreign_Flag)); in g_raid_md_ddf_print()
244 printf("Diskgrouping 0x%02x\n", GET16(meta, hdr->Diskgrouping)); in g_raid_md_ddf_print()
249 printf("Max_PD_Entries %u\n", GET16(meta, hdr->Max_PD_Entries)); in g_raid_md_ddf_print()
250 printf("Max_VD_Entries %u\n", GET16(meta, hdr->Max_VD_Entries)); in g_raid_md_ddf_print()
251 printf("Max_Partitions %u\n", GET16(meta, hdr->Max_Partitions)); in g_raid_md_ddf_print()
[all …]
/freebsd/sys/netinet/
H A Daccf_dns.c93 #define GET16(p, val) do { \ macro
114 GET16(p, packlen); in skippacket()
/freebsd/contrib/ntp/sntp/libevent/
H A Devdns.c982 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t… in name_parse() macro
1050 GET16(trans_id); in reply_parse()
1051 GET16(flags); in reply_parse()
1052 GET16(questions); in reply_parse()
1053 GET16(answers); in reply_parse()
1054 GET16(authority); in reply_parse()
1055 GET16(additional); in reply_parse()
1120 GET16(type); in reply_parse()
1121 GET16(class); in reply_parse()
1123 GET16(datalength); in reply_parse()
[all …]
/freebsd/contrib/libevent/
H A Devdns.c982 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t… in name_parse() macro
1050 GET16(trans_id); in reply_parse()
1051 GET16(flags); in reply_parse()
1052 GET16(questions); in reply_parse()
1053 GET16(answers); in reply_parse()
1054 GET16(authority); in reply_parse()
1055 GET16(additional); in reply_parse()
1120 GET16(type); in reply_parse()
1121 GET16(class); in reply_parse()
1123 GET16(datalength); in reply_parse()
[all …]