Date: Fri, 21 Feb 2003 22:32:17 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: johnsonest@hotmail.com Cc: freebsd-questions@freebsd.org, gary.thomas@mind.be Subject: Re: some question Message-ID: <20030221203217.GA70911@gothmog.gr> In-Reply-To: <F71rhup7IpGwC6RZT2600010c8f@hotmail.com> References: <F71rhup7IpGwC6RZT2600010c8f@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-20 16:46, ?? ?? <johnsonest@hotmail.com> wrote: > hi,i have a question about tcp/ip stack,could you help me? > when we send a tcp packet with tcp_maxopt(tcp_maxopt = min(my > mss,mss offerd by opposite socket) +length of TCP options,as ecos > does in function tcp_mss() of the file tcp_input.c) to IP,and IP > insert some IP options into packet,so maybe length of whole IP > packet > ifp->mtu,so Ip must fragment this tcp packet,and TCP failed > to avoid fragmenting in host itsself. > as we know,TCP always avoid to fragment as possible,maybe the > condition above does not occur often,but it is possible. > right? > or wrong,please tell me,Thank you very much! The comment above tcp_mss() says: * NOTE that this routine is only called when we process an incoming * segment, for outgoing segments only tcp_mssopt is called. So, it won't be called for frames created by ip_output() :-) 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?20030221203217.GA70911>