[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [openss7] SCTP_RTO Option
Brian,
I am definately interested in using all the options for testing
purposes. I also added to the IPPROTO_SCTP enumeration.
Later,
Chuck
"Brian F. G. Bidulock" wrote:
>
> Chuck,
>
> Looks like the header files need cleaning up a bit. You will find
> the socket options definitions and CMSG flags at the bottom of
> <net/sctp.h>. What is really required is a <netinet/sctp.h> header
> file to be included by users which has only the appropriate declarations
> for sctp ala <netinet/tcp.h>. Unfortunately this is not part of the
> kernel headers, but is part of the C-library headers and is difficult
> to release as a kernel patch. I could provide a suitable <netinet/sctp.h>
> file that you could place in your standard include path if you are
> interested in using all of the features...
>
> --Brian
>
> Chuck Winters wrote: Thu, 24 May 2001 15:30:59
> >
> > Hello again,
> > Is the socket control SCTP_RTO implemented yet? I tried to compile a
> > program using SCTP_RTO to get and set the rto options, and the compiler
> > complained that SCTP_RTO was undefined. I then did a grep for SCTP_RTO
> > in the include directory, and it only came up with a comment and the
> > NET_SCTP_RTO_* proc stuff.
> > The other problem was that the struct sctp_rtoval was not declared. I
> > went hunting, and found it in sctp.h. When I included sctp.h, it was
> > showing that sctp.h had errors. I searched around, and found that u32
> > was undefined outside the kernel. I changed the u32's to __u32's in
> > sctp.h and everything worked fine.
> > So, am I doing something wrong? I wouldn't be surprised :-)
> >
> > Thanks,
> > Chuck
> > --
> > Chuck Winters | Email:
> > cwinters@atl.lmco.com
> > Distributed Processing Laboratory | Phone: 856-338-3987
> > Lockheed Martin Advanced Technology Labs |
> > 1 Federal St - A&E-3W |
> > Camden, NJ 08102 |
>
> --
> Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
> bidulock@openss7.org ¦ world; the unreasonable one persists in ¦
> http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
> ¦ Therefore all progress depends on the ¦
> ¦ unreasonable man. -- George Bernard Shaw ¦
--
Chuck Winters | Email: cwinters@atl.lmco.com
Distributed Processing Laboratory | Phone: 856-338-3987
Lockheed Martin Advanced Technology Labs |
1 Federal St - A&E-3W |
Camden, NJ 08102 |