g+
g+ Communities
Argonne National Laboratory

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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: about ram socket help
From: <michael.abbott@diamond.ac.uk>
To: <suyang208@126.com>, <hs79hs@gmail.com>, <tech-talk@aps.anl.gov>
Date: Mon, 26 Mar 2012 10:07:26 +0000

Hi.

 

Peter left Diamond a few years ago, but I have found his LLC code which I attach to this mail.  This code was last touched in November 2006 and I’m afraid I have no idea whether it works.

 

Regards,

                Michael Abbott

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of ??
Sent: 24 March 2012 02:19
To: hs79hs@gmail.com; tech-talk@aps.anl.gov
Subject: about ram socket help

 

Hi.Peter,

   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

From:

"Denison, PN \(Peter\)" <peter.denison@diamond.ac.uk>

To:

"??" <hs79hs@gmail.com>, <tech-talk@aps.anl.gov>

Date:

Mon, 3 Dec 2007 16:35:52 -0000

> From: tech-talk-bounces@aps.anl.gov 
> [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of hs79hs@gmail.com
> 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.

 


 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Attachment: llc.tgz
Description: llc.tgz


Replies:
RE: about ram socket help michael.abbott
References:
about ram socket help 苏阳

Navigate by Date:
Prev: Cothread 2.6 release michael.abbott
Next: RE: about ram socket help michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: about ram socket help 苏阳
Next: RE: about ram socket help michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·