Skip to content

sampathkumar81293/usrsctp

 
 

Repository files navigation

usrsctp for ARC platform

Coverity Scan Build Status

This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.

Cross-compilation for Linux systems In the folder usrsctp type

$ ./bootstrap

Optional Create a config.cache with the following ac_cv_* and glib_* entries

ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=no}
glib_cv_long_long_format=${glib_cv_long_long_format=ll}
glib_cv_stack_grows=${glib_cv_stack_grows=no}
glib_cv_has__inline=${glib_cv_has__inline=yes}
glib_cv_has__inline__=${glib_cv_has__inline__=yes}
glib_cv_uscore=${glib_cv_uscore=no}
glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}

$ ./configure --cache-file=config.cache --host=arc-linux-uclibc --enable-shared=yes --enable-static=yes --prefix=/opt/arclibs

Since ARC 700 has no support for __atomic*() or __sync*() variants, I incorporated software support for the same using pthread library in ./usrsctplib/user_atomic.h file $ make

Now, the library libusrsctp.la has been built in the subdirectory usrsctplib, and the example programs are ready to run from the subdirectory programs.

If you have root privileges or are in the sudoer group, you can install the library in $prefix/lib and copy the header file to $prefix/include with the command

$ sudo make install

See manual for more information.

The status of continuous integration testing is available from grid and waterfall. If you are only interested in a single branch, just append ?branch=BRANCHNAME to the URL, for example waterfall.

About

A portable SCTP userland stack for ARC700 platform

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.9%
  • TeX 1.9%
  • C++ 1.0%
  • CMake 0.6%
  • Makefile 0.3%
  • M4 0.2%
  • Shell 0.1%