From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,14d5825e474c6a44,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,14d5825e474c6a44,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,14d5825e474c6a44,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-16 16:45:59 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!usenet From: oberman@icaen.llnl.gov Newsgroups: comp.unix.osf.osf1,comp.sys.dec,vmsnet.alpha Subject: Problem trying to use setsockopt(2) Date: Fri, 17 Jun 94 00:45:37 GMT Organization: Lawrence Livermore National Laboratory Message-ID: <2tqo73$hl0@lll-winken.llnl.gov> NNTP-Posting-Host: rogue.llnl.gov Xref: nntp.gmd.de comp.unix.osf.osf1:3841 comp.sys.dec:16204 vmsnet.alpha:1980 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