🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9265

Bytes de red y bytes de host en cabecera IP?? (Vir2001)

#9265
From: Tovaritx
Date: Tue, 20 Aug 2002 10:18
11 lines
1329 bytes
Hola a tod@s.
Estoy programando con libpcap un peque�o sniffer y funciona bien.
Cuando accedo a las estructuras de cabecera ip o tcp debo transformar
los bytes de little-endian a big-endian para los paquetes que llegand
e la red. Esto m�s o menos lo entiendo. Sin embargo hay alg�n
componente de la estructura que no necesita transformaci�n, he
observado que ip_p, th_off e ip_off no la precisan. De hecho lo he
aprendido por el sutil m�todo de prueba y error...
�Por qu� es as�?

gracias
Technical Details
Message-ID: <94d00cf9.0208200218.29c2f6a9@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,223af48df51882ee,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-08-20 03:18:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: tovaritx01@hotmail.com (Tovaritx)
Newsgroups: es.comp.os.linux.programacion
Subject: Bytes de red y bytes de host en cabecera IP?? (Vir2001)
Date: 20 Aug 2002 03:18:06 -0700
Organization: http://groups.google.com/
Lines: 11
Message-ID: <94d00cf9.0208200218.29c2f6a9@posting.google.com>
NNTP-Posting-Host: 212.166.134.17
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1029838687 28525 127.0.0.1 (20 Aug 2002 10:18:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 20 Aug 2002 10:18:07 GMT