site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Vinnie, Thanks, Vincent On Mar 21, 2005, at 9:05 AM, Vinnie Moscaritolo wrote: for example the message 0000 0000 0000 000F indicates that I need to read 15 more bytes. 0: 0000 0000 0000 000F 5261 6262 6974 2046 ........Rabbit.FOO.FOO. 0: 0000 0001 0000 000F 5262 6262 6974 2046 ........Rbbbit.FOO.FOO. 0: 0000 0002 0000 000F 5263 6262 6974 2046 ........Rcbbit.FOO.FOO. 0: 0000 0003 0000 000F 5264 6262 6974 2046 ........Rdbbit.FOO.FOO. 0: 0000 0006 0000 000F 5265 6262 6974 2046 ........Rebbit.FOO.FOO. 0: 0000 0007 0000 000F 5266 6262 6974 2046 ........Rfbbit.FOO.FOO. on the receive side I see rcv 8 bytes 0: 0000 0000 0000 000F ........ rcv 15 bytes 0: 0000 0001 0000 000F 5262 6262 6974 20 ........Rbbbit. rcv 8 bytes 0: 0000 0002 0000 000F ........ rcv 15 bytes 0: 0000 0003 0000 000F 5264 6262 6974 20 ........Rdbbit. rcv 8 bytes 0: 0000 0006 0000 000F ........ rcv 15 bytes 0: 0000 0007 0000 000F 5266 6262 6974 20 ........Rfbbit. It almost looks as if the recv/read is throwing away the rest of the mbuf after I read the first 8 bytes.. http://lists.apple.com/archives/darwin-kernel/2002/Oct/msg00029.html If so, I will file a bug this morning.. -- This email sent to vlubet@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... We won't discuss Tiger on a public mailing list, remember that Tiger is under NDA I came across what looks like a bug in calling tl_enqueuedata() from an NKE . (in build 8A414) My NKE communicates with my App via a custom protocol , the second longword of the protocol is the length of the data that follows. I use this length to determine how much more data to read from my App. I assemble the complete message from my NKE and send it using tl_enqueuedata() but on the Application side, whe I do a read/rcv I get what looks like buffer corruption.. for example, If I send the following six messages. I noticed that on the list a few years ago.. could it be that this function was never fixed..? Vinnie Moscaritolo ITCB-IMSH PGP: 3F903472C3AF622D5D918D9BD8B100090B3EF042 ------------------------------------------------------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/vlubet% 40apple.com This email sent to site_archiver@lists.apple.com