[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pandora] struct tcphdr
From: |
uaca |
Subject: |
[Pandora] struct tcphdr |
Date: |
Wed, 5 Mar 2003 14:51:29 +0100 |
User-agent: |
Mutt/1.3.28i |
Hello Simon it seems that tcp.h is not 100% right
struct tcphdr {
u_int16_t th_sport; /* source port */
u_int16_t th_dport; /* destination port */
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement numb
er */
u_int8_t th_offx2; /* data offset, rsvd */
u_int8_t th_flags;
I think:
data offset + reserved = 10 bits
flags = 6 bits
Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers." Pablo Picasso
---> Visita http://www.valux.org/ para saber acerca de la <---
---> AsociaciĆ³n Valenciana de Usuarios de Linux <---
- [Pandora] struct tcphdr,
uaca <=