Sponsored Content
Full Discussion: hi..
Operating Systems Linux hi.. Post 302256997 by mannapuram on Tuesday 11th of November 2008 04:38:00 AM
Old 11-11-2008
Please explain me the PPP implementation in the vxworks 6.4 and vxworks 6.5 releases?

HI,
I think the previous post was some what too technical. I would like to know the implementation of ppp in vxworks 6.5 and vxworks 6.4 versions. I am actually trying to migrate from vxworks 5.5 to 6.6 version. But, not sure if there were changes in ppp implementations which involved removing of the ifnet structure?

Any idea in this regard would be a great help.

Thanks in Advance,
Srinivas Mannapuram
 
ifnet(7)						 Miscellaneous Information Manual						  ifnet(7)

NAME
ifnet - STREAMS ifnet module for bridging STREAMS device drivers to sockets SYNOPSIS
#include <sys/stropts.h> #define PIFNET_IOCTL_UNIT 1236 int ioctl( type fildes, type command, type arg ); int fildes, command; DESCRIPTION
ifnet is a STREAMS-based module that provides a bridge between STREAMS-based device drivers written to the Data Link Provider Interface (DLPI) and sockets. By using ifnet, STREAMS-based DLPI device drivers can work with TCP/IP, or any other networking protocols, implemented using sockets. An application pushes the ifnet module onto a Stream opened to the device driver. The application must then send an I_STR ioctl with a command of IFNET_IOCTL_UNIT to notify ifnet of the driver's unit number. It must then send a DL_BIND_REQ downstream to bind the appropri- ate protocol. Once the Stream or Streams are set up, the application has no work to do but must stay around to keep the Streams alive. This can be done with the pause(3) function. EXAMPLES
The following example illustrates how to send an I_STR ioctl with a command of IFNET_IOCTL_UNIT to notify ifnet of the driver's unit num- ber. struct strioctl str; int unit; . . . str.ic_cmd = IFNET_IOCTL_UNIT; str.ic_dp = &unit; /* unit number of device */ ioctl(fd, I_STR, &str); RELATED INFORMATION
Commands: pause(3). Network Programmer's Guide delim off ifnet(7)
All times are GMT -4. The time now is 10:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy