Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problem trying to use setsockopt(2)
@ 1994-06-17  0:45 oberman
  0 siblings, 0 replies; only message in thread
From: oberman @ 1994-06-17  0:45 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-06-17  0:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-17  0:45 Problem trying to use setsockopt(2) oberman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox