Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 17:08:35 -0400
From:      Li Li <lili@dnrc.bell-labs.com>
To:        freebsd-questions@freebsd.org
Subject:   a raw IP layer bug or standard behaviour?
Message-ID:  <37A21453.8A84130C@dnrc.bell-labs.com>

next in thread | raw e-mail | index | archive | help
I am using raw IP socket with protocol value IPPROTO_RAW. When I receive
the IP packet in the application. The ip_len field of the IP header is
the lengthen of the data portion, not the total packet length. Is this a
bug in the raw IP layer or a standard behavour? Should the rip_input
function (in netinet/raw_ip.c) suppose to make sure the ip_len is the
total length of the packet or should it just pass whatever it gets from
the in_input function up to the socket layer?

Thanks,

L. Li


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A21453.8A84130C>