05-31-2002
Transparent Ioctls in Streams
Thanks a ton for your reply. What I understood that the u area is outside the scope of Stream's module except to its open and close modules.
By stating "The related data is sent in message pairs exchanged between the Stream head and the module. A pair of messages is required so that each transfer can be acknowledged." - did you mean to say that :
*mblk_t->b_cont->b_rptr == *mblk_t->b_rptr ie data buffer content is same(2 Copies of data is there ) or
mblk_t->b_cont = dupb ( mblk_t )
ie mblk_t->b_datap == mblk_t->b_cont->b_datab . Kindly clarify. While transferring data from kernel space to user or vice versa the first message block is responsible for populating the ioctl's request's response as M_COPYIN or M_COPYOUT (mblk_t->b_datap->db_type member = M_COPYIN or M_COPYOUT)
Sir, does it then means that cq_addr and cq_size of copyreq structure identifies the data and its size in the user space.
Sir , kindly also guide me on the fact that if the command type is I_STR for an input / output operation on a Stream - is it that, at the timeout interval specified in ic_timout member of strioctl structure, the stream device itself responds with ETIME error . The Stream knows how to process the internal ioctl command type and loops the message block into the queue of itself.
Last edited by S.P.Prasad; 06-06-2002 at 06:41 AM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I just want to make my xterm to be transparent, but I don't know how, could somebody tell me?
:( (3 Replies)
Discussion started by: zhiyuan
3 Replies
2. Cybersecurity
Hi!
My situation:
I have an OpenBSD firewall/proxy (192.168.0.1), running IPF/IPNAT w/ Squid as transparent proxy. This machine is configured to be gateway to the network.
This works great, all the clients WWW-requests on the internal network are rerouted to the proxyport by this... (0 Replies)
Discussion started by: indo1144
0 Replies
3. IP Networking
Is there any facility to filter/identify the data calls and voice calls coming throug modem?
OR
Can we get the data or voice calls information through a script(preferably C Kermit)? (0 Replies)
Discussion started by: pcsaji
0 Replies
4. IP Networking
hi guys!
We are setting up Squid Server. we want the server to be transparent. But I don't know how will i be able to set the network up. is it possible to set the squid server in the same LAN with the Squid Client and still functions as a transparent server? if so, can anybody help me do it?
... (1 Reply)
Discussion started by: init6_
1 Replies
5. Virtualization and Cloud Computing
Hello,
If you switch to "seamless mode" in virtualbox, you can see the taskbar of the OS on your screen , like having a transparent background on your VM.
My question: is there a possibility to do the same in VMware's Workstation (7) ? I know and use the "Unity" mode in Workstation/Player, but... (0 Replies)
Discussion started by: al0x
0 Replies
6. UNIX for Dummies Questions & Answers
in windows you can encrypt and compress file via it properties.
It compress the file in a way that is transparent, I mean you do know that it is compressed, but you can work with it as if it is not, you don't need to decompress it in order to edit it or watch it.
The same go for encryption as... (0 Replies)
Discussion started by: programAngel
0 Replies
7. Ubuntu
I'm I able to make vlc or mplayer transparent.
If so how can i do it please.
thanks in advance josh (0 Replies)
Discussion started by: jtsmith90
0 Replies
8. IP Networking
All traffic on the LAN is routed through a single machine and filtered using iptables. I'd like to redirect this traffic to a transparent proxy running on the same machine that will rewrite the URL if it matches a specified regex, in which case the user will be redirected to a local server. In... (0 Replies)
Discussion started by: crottyan
0 Replies
9. OS X (Apple)
Well after the transparent QuickTime Player means of capture for OSX 10.7.x became broken in at least Yosemite I decided to persevere with a version of command line capture for OSX 10.12.x.
A derivative of this DEMO is now inside AudioScope.sh to give my MBP and iMac a means of capturing an... (3 Replies)
Discussion started by: wisecracker
3 Replies
qe(4) Kernel Interfaces Manual qe(4)
Name
qe - DEQNA/DELQA Ethernet interface
Syntax
device qe0 at uba0 csr 0174440 vector qeintr
Description
The interface provides access to a 10 Mb/s Ethernet network through a DEQNA/DELQA controller.
The host's Internet address is specified at boot time with an SIOCSIFADDR ioctl. The interface employs the address resolution protocol
described in to dynamically map between Internet and Ethernet addresses on the local network.
The interface normally tries to use a ``trailer'' encapsulation to minimize copying data on input and output. This can be disabled for an
interface by setting the IFF_NOTRAILERS flag with an SIOCSIFFLAGS ioctl. Trailers are only used for packets destined for Internet hosts.
The SIOCSPHYSADDR ioctl can be used to change and SIOCRPHYSADDR can be used to read the physical address of the board. SIOCADDMULTI and
SIOCDELMULTI can be used to add or delete multicast addresses. The board recognizes at most 10 multicast addresses. The argument to the
latter ioctls is a pointer to an ifreq structure found in <net/if.h>.
SIOCRDCTRS and SIOCRDZCTRS ioctls can be used to read or ``read and clear'' the board counters. The argument to the latter two ioctls is a
pointer to a counter structure "ctrreq" found in
The ioctls SIOCENABLBACK and SIOCDISABLBACK can be used to enable and disable the interface loopback mode.
Restrictions
The PUP protocol family is not supported.
Diagnostics
Various error messages can occur while transmitting or receiving packets. For example,
qe%d: can't handle af%d
The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped.
See Also
arp(4p), inet(4f), intro(4n)
qe(4)