From: oberman@icaen.llnl.gov
Subject: Problem trying to use setsockopt(2)
Date: Fri, 17 Jun 94 00:45:37 GMT [thread overview]
Message-ID: <2tqo73$hl0@lll-winken.llnl.gov> (raw)
I am trying to port Loose Source traceroute to OSF/1 2.0. I got the patches and
installed them on a Sun with no problems. On the AXP I first had to fix the
invalid assumptions of data lengths in the patches and tested it. It didn't
work. :-(
The packet sent out (captured by tcpdump) had no ip option information, just
the IP header and the UDP stuff.
I checked all of the arguments to setsockopt(2) and can't find anything wrong.
And the call returns without error, too! The option value is correct, as far as
I can see, The code for the LSRR option, the length of the option list, a
pointer to the first address, and the addresses. (83 0b 04 (ip addr) (ip addr)
0). The level is 0 (IP) and the option name is IP_OPTIONS, just as I would
expect. The length is 12, which is also correct.
Any clue as to why the options never seem to make it out the door? Is there a
bug in the socket library?
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
reply other threads:[~1994-06-17 0:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox