RE: [RTnet-users] RE: Socket Priority in RTNET

2005-08-16 Thread Vareka, Bill
Opps, ffz() is find first zero not find first set, but the idea is the same... Regards, Bill -Original Message- From: Vareka, Bill Sent: Tuesday, August 16, 2005 10:43 PM To: 'rtnet-users@lists.sourceforge.net' Subject: [RTnet-users] RE: Socket Priority in RTNET ... that has

[RTnet-users] RE: Socket Priority in RTNET

2005-08-16 Thread Vareka, Bill
This is somewhat tricky. The priority associated with the skb is used when messages are loaded by the tx function. The skb maintains an array of 16 linked lists of messages (one for each priority). When you add a new message to the skb it puts in on the right array based on the priority in the h

[RTnet-users] RE: Socket Priority in RTNET

2005-08-16 Thread Howard Cai
Hi, Recently, I am studying the RTNET code and realized that there is a priority assied to each sock allocated and then to the related socket buffer (skb) for outgoing for example. But In the source code I have not found where this priority is used for the delivery of the packet? Did I miss so