home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / tcpip / 4123 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.8 KB

  1. Path: sparky!uunet!mcsun!uknet!doc.ic.ac.uk!ibmassc!yktnews!admin!data!hofer
  2. From: hofer@rchland.vnet.ibm.com (Kent Hofer)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: ioctl() questions
  5. Message-ID: <1992Aug18.010704.18704@rchland.ibm.com>
  6. Date: 18 Aug 92 01:07:04 GMT
  7. Sender: news@rchland.ibm.com
  8. Organization: IBM Rochester
  9. Lines: 44
  10. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  11. Nntp-Posting-Host: data.rchland.ibm.com
  12.  
  13.  
  14. Could anyone please answer the following questions for me:
  15.  
  16. ioctl() networking commands are grouped into 4 categories in the Steven's book: 
  17.   - file
  18.   - socket
  19.   - routine
  20.   - interface
  21.  
  22. FILE CATEGORY:
  23.  
  24. 1) what address family must be used?
  25.   - file - I assume this can relate to any address family.  Are all supported
  26.       for AF_UNIX and AF_INET?
  27.  
  28. 2) what socket type must be used? I assume that it makes no difference, correct?
  29.  
  30. SOCKET CATEGORY:
  31.  
  32. 1) SIOCATMARK isn't supported for AF_UNIX, right?  Otherwise process group options should be universal, right?
  33.  
  34. 2) Again, socket type makes no difference, right?
  35.  
  36. 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?  
  37.  
  38.  
  39. ROUTING CATEGORY:
  40.  
  41. 1) Are there more protocol stacks than AF_INET that use these ioctls()?
  42.  
  43. 2) What socket_type is required to use these?  (Rephrased - can I add a TCP
  44. route using a stream socket, a datagram socket, and/or a raw socket?)
  45.  
  46. INTERFACE CATEGORY:
  47.  
  48. 1) Same questions - what address family and type are required for this? 
  49.  
  50.  
  51. Thanks for any answers to any of the questions!!!
  52.   
  53.  
  54. Kent Hofer    hofer@rchland.vnet.ibm.com  
  55.  
  56. (my opinions are my own and have nothing to do with my employer)
  57.