[VxW] Compilation Problems

VxWorks

    Sponsored Links

    Next

  • 1. Destination IP of the UDP
    Hi All, I want to get the Destination IP of the UDP packet. I am able to get that on the Unix.For that I did the following I create a raw socket and by using the IP_PKTINFO on the setsockopt (), I am able to get the destination IP of the UDP packet. But I dont find any equal options for this IP_PKTINFO on vxWorks. Could some one help on this Thanks John Miller
  • 2. Threaded I/O redirection
    I have a question about redirection of stdio. It's usually not a big deal using dup(), dup2(), fcntl(), etc... But is it possible to redirect std handles independently from different threads in Linux? I would like to implement the vxWorks ioTaskStdGet(), ioTaskStdSet() functions with Linux. Is there a way to go? It could be a hard way but is it possible at all? If not i'd have a major problem here. Maybe POSIX, no idea. Probably someone can recommend a good book about system programming in depth. Xpost, f'up to comp.os.linux.development.system TIA, Hans
  • 3. IOCTL
    HI. I'm trying to compile VxWorks code in a Windows environment. How can I translate the lines: ioctl(fd,FIONREAD,(int)&unreadCount) ; ioctl(fd,FIOGETOPTIONS,0) ; Thanks, Udi.

[VxW] Compilation Problems

Postby Vishal Sinha » Wed, 10 Sep 2003 07:55:08 GMT

Hello,

 I have recently upgraded my Tornado environment and am running in to the
following problems:
The new usrConfig.c file contains all usrNetXXX files instead of usrXXX.
For example, in the diff file appended below, the new usrProj contains
#include "net/usrNetConfigIf.c"
instead of #include "net/usrConfigIf.c". Has anyone run in to this problem
before.

Thanks,

-Vishal


< #include "muxTkLib.h"
< #include "net/mbuf.h"
97a96
104d102
< #include "net/usrNetConfigIf.c"
110d107
< #include "net/usrNetMuxCfg.c"
181c178
< * usrNetworkDevStart - Attach a network device and start the loopback
driver
---
186,187c183,184
<     usrNetEndDevStart (pDevName, uNum); /* Uses boot parameters to start
an END driver */
<     usrNetBsdDevStart (pDevName, uNum, pAddrString, netDevBootFlag); /*
Uses boot parameters to start a BSD driver */
---
Uses boot parameters to start an END driver */
netDevBootFlag); /* Uses boot parameters to start a BSD driver */
204c201
<     usrNetworkDevStart ();              /* Attach a network device and
start the loopback driver */
---
device */
243c240
<     usrMuxLibInit ();                   /* network driver to protocol
multiplexer */
---
multiplexer */



Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 23 guest