home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / admin / 6123 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.4 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: mysterious console message (FAQ alert ?)
  5. Message-ID: <14462@auspex-gw.auspex.com>
  6. Date: 3 Sep 92 20:53:29 GMT
  7. References: <1992Sep3.120617.981@hp4at.eunet.co.at>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 25
  11. Nntp-Posting-Host: bootme.auspex.com
  12.  
  13. >sun vmunix: redirect (0) to f8160ed0
  14. >
  15. >A fd f8160ed0 does not show up in pstat -f .
  16.  
  17. It's not a file descriptor; on SPARC machines, it's the address of a
  18. data structure on the stack that contains an IP address.  (Yup, somebody
  19. forgot that you can't just pass a 4-byte structure to "printf" and
  20. expect its 4 bytes to be printed in hex; the code came from Berkeley,
  21. and you can get away with that on VAXes and Tahoes, and on most
  22. machines, but the Sun calling sequence on SPARC doesn't support it.)
  23.  
  24. To quote the comment from the relevant code in the 4.3-tahoe
  25. "netinet/ip_input.c":
  26.  
  27.     /*
  28.      * If forwarding packet using same interface that it came in on,
  29.      * perhaps should send a redirect to sender to shortcut a hop.
  30.      * Only send redirect if source is sending directly to us,
  31.      * and if packet was not source routed (or has any options).
  32.      * Also, don't send redirect if forwarding using a default route
  33.      * or a route modfied by a redirect.
  34.      */
  35.  
  36. The number in parentheses is the type of redirect being sent out; 0 is
  37. ICMP_REDIRECT_NET (see "/usr/include/netinet/ip_icmp.h").
  38.