0
는 구조체의 IP에IP 헤더 도움말?
#if __BYTE_ORDER == __LITTLE_ENDIAN
unsigned int ip_hl:4; /* header length */
unsigned int ip_v:4; /* version */
#endif
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned int ip_v:4; /* version */
unsigned int ip_hl:4; /* header length */
#endif
리틀 엔디안과 빅 엔디안에만 멀티 바이트 값에 영향을 다음과 같이 정의한다 왜. ip_v
앞에 ip_hl
을 저장하는 이유는 무엇입니까?이후에 ip_hl
을 전송하면 안됩니까?