Lines Matching full:byte_order_magic
107 bpf_u_int32 byte_order_magic;
117 #define BYTE_ORDER_MAGIC 0x1A2B3C4D
650 bpf_u_int32 byte_order_magic;
709 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp);
710 if (amt_read < sizeof(byte_order_magic)) {
725 if (byte_order_magic != BYTE_ORDER_MAGIC) {
726 byte_order_magic = SWAPLONG(byte_order_magic);
727 if (byte_order_magic != BYTE_ORDER_MAGIC) {
816 shbp->byte_order_magic = byte_order_magic;
818 p->buffer + (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)),
819 total_length - (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)),
1131 shbp->byte_order_magic =
1132 SWAPLONG(shbp->byte_order_magic);
1142 switch (shbp->byte_order_magic) {
1144 case BYTE_ORDER_MAGIC:
1150 case SWAPLONG(BYTE_ORDER_MAGIC):