Little more about mbufs
Little more about mbufs
- Subject: Little more about mbufs
- From: "Matthew Jaffa" <email@hidden>
- Date: Thu, 24 Jun 2004 09:04:21 -0600
Hi,
I have read chapter 2 about mbufs in TCP/IP books by Stevens.
I am trying to get a little more understanding.
My NKE is intercepting POST and GET Requests, normally these are within the
range of 200 - 1500 in size so that it is easy to get all of the information
from the mbuf by just doing char * data = mtod(mbuf,char*);
But I now am dealing with POSTS that are huge, when I submit a huge POST
form data is big.
The first POST Request I intercept however is of the size > 2051, but when I
look at outgoing traffic using ethereal each one is made sure to be split
into chunks less than 2051, so how come the mbuf's m_pkthdr.len is
greater then 2051 when it is only storing 2051, does this mean that there is
another mbuf chained to it that I must then get the remaining data for that
POST that has m_pkthdr.len > 2051?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.