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