Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Nntp-Posting-Host: data.rchland.ibm.com
Could anyone please answer the following questions for me:
ioctl() networking commands are grouped into 4 categories in the Steven's book:
- file
- socket
- routine
- interface
FILE CATEGORY:
1) what address family must be used?
- file - I assume this can relate to any address family. Are all supported
for AF_UNIX and AF_INET?
2) what socket type must be used? I assume that it makes no difference, correct?
SOCKET CATEGORY:
1) SIOCATMARK isn't supported for AF_UNIX, right? Otherwise process group options should be universal, right?
2) Again, socket type makes no difference, right?
3) What are high water marks and low water marks, and why are they here if they are not implemented? How do they relate to the socket options SO_RCVLOWAT and SO_SNDLOWAT? Was the SIOCSLOWAT supposed to set both the send and receive side low water marks (whatever they are) or was it intended for just one side?
ROUTING CATEGORY:
1) Are there more protocol stacks than AF_INET that use these ioctls()?
2) What socket_type is required to use these? (Rephrased - can I add a TCP
route using a stream socket, a datagram socket, and/or a raw socket?)
INTERFACE CATEGORY:
1) Same questions - what address family and type are required for this?
Thanks for any answers to any of the questions!!!
Kent Hofer hofer@rchland.vnet.ibm.com
(my opinions are my own and have nothing to do with my employer)