EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: about ram socket help
From: 苏阳 <[email protected]>
To: [email protected], [email protected]
Date: Sat, 24 Mar 2012 12:26:23 +0800 (CST)
Hi,
   I have meet the questions like the follows,and i want to see the LLC code what you said .
Can you sent me?
   Thanks
 
Sun
Subject:RE: how to recv data by raw socket under VxWorks
Fr! om:"Denison, PN \(Peter\)" <[email protected]>
To:"??" <[email protected]>, <[email protected]>
Date:Mon, 3 Dec 2007 16:35:52 -0000
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of [email protected]
> Sent: 01 December 2007 12:25
> 
>    Is there anyone who knows how to receive data by raw 
> socket under VxWorks? I can send data by raw socket, but 
> can't receive. I know that under Windows we can use like 
> ioctlsocket(sockRaw, SIO_RCVALL, &dwValue) to receive all 
> data. Does there have the same option under VxWorks?

There are functions in etherLib to let you filter all packets at the
ethernet level. See http://www.calsoftlabs.com/whitepapers/vxworks.html
for a description. However, I don't think that vxWorks allows a "raw"
socket type.

I have written a "new-style" vxWorks network stack driver and socket
interface for the IEEE802.2 LLC protocol, which may not be too difficult
to adapt for use as a raw socket interface. You'd have to trap a raw
flag on the socket creation call, and install the socket interface in
parallel with the existing implementations (which may or may not work).

I can let you have the LLC code if you like.



Navigate by Date:
Prev: about ram socket help 苏阳
Next: Re: waiting in sseq Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: about ram socket help Mark Rivers
Next: Highland T560 delay generator Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024