Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- Subject: Re: Mac OS 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- From: Josh Graessley <email@hidden>
- Date: Tue, 26 Jul 2005 08:54:03 -0700
I'm not sure I follow. I understand that you set that flag and value
on the outbound path. Who is the client of that flag and value? The
csum_flags value of 0x0020 is undefined.
-josh
On Jul 25, 2005, at 10:48 PM, Karunakar Reddy G wrote:
Hi Josh,
I use this to update checksum flag and data for Transmits an output
packet , I override function outputPacket(mbuf _t, void * param)
which defined in "network/IONetworkController.h",
For that I need to update mbuf_t for hardware checks.
In old code, it can be used very easily using mbuf->m_pkthdr, You
can see below for the same, now I dont have any option to update
these members
1) mbuf->m_pkthdr.csum_flags = 0x0020;
2) mbuf->m_pkthdr.csum_data = 0xFFFFFFFF;
I will appreciate if any body can help me,
/* record/packet header in first mbuf of chain; valid if M_PKTHDR
set */
struct pkthdr {
int len; /* total packet length */
struct ifnet *rcvif; /* rcv interface */
/* variables for ip and tcp reassembly */
void *header; /* pointer to packet header */
/* variables for hardware checksum */
int csum_flags; /* flags regarding checksum */
int csum_data; /* data field used by csum
routines */
struct mbuf *aux; /* extra data buffer; ipsec/others */
void *reserved1; /* for future use */
void *reserved2; /* for future use */
};
Thanks
Karunakar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden