github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/bpf/include/linux/byteorder.h (about)

     1  #ifndef _ASM_X86_BYTEORDER_H
     2  #define _ASM_X86_BYTEORDER_H
     3  
     4  #include <endian.h>
     5  
     6  #if __BYTE_ORDER == __LITTLE_ENDIAN
     7  #include <linux/byteorder/little_endian.h>
     8  #else
     9  #include <linux/byteorder/big_endian.h>
    10  #endif
    11  
    12  #endif /* _ASM_X86_BYTEORDER_H */