TCP & UDP Header
C에서 구현한 TCP 헤더 #include struct tcphdr { __be16source; __be16dest; __be32seq; __be32ack_seq; #if defined(__LITTLE_ENDIAN_BITFIELD) __u16res1:4, doff:4, fin:1, syn:1, rst:1, psh:1, ack:1, urg:1, ece:1, cwr:1; #elif defined(__BIG_ENDIAN_BITFIELD) __u16doff:4, res1:4, cwr:1, ece:1, urg:1, ack:1, psh:1, rst:1, syn:1, fin:1; #else #error"Adjust your defines" #endif __be16window; __sum16check; __be16ur..