summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/rtsock.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-07cpukit: Remove libnetworkingVijay Kumar Banerjee1-801/+0
Update #3850
2018-09-10network: Use kernel/user space header filesSebastian Huber1-0/+2
Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
2017-06-07network: Header file compatiblitySebastian Huber1-0/+1
Move legacy network stack implementation specifics to <rtems/rtems_bsdnet_internal.h>. Include missing header files. Add interface flags compatibility. Update #2833.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-3/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-03-02Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h.Ralf Corsepius1-1/+1
2010-03-28Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius1-0/+4
2009-10-202009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-1/+1
PR1424/networking * libnetworking/net/rtsock.c: (merged from BSD) copy information out to user buffer.
2008-12-22Add missing initializers.Ralf Corsepius1-6/+8
2008-09-01Stop using old-style function definitions.Ralf Corsepius1-4/+2
2007-05-10Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius1-1/+1
2005-05-11Abandon AF_NS.Ralf Corsepius1-4/+0
2005-04-172005-04-17 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-171/+147
* libnetworking/net/rtsock.c: More updates from FreeBSD.
2005-04-17Cosmetical update from FreeBSD.Ralf Corsepius1-4/+0
2003-01-032002-11-26 Chris Johns <cjohns@cybertec.com.au>Joel Sherrill1-11/+3
* Makefile.am: Added sys/linker_set.h * kern/Makefile.am: Added kern_mib.c and kern_sysctl.c. * kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN. * kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to KIPC_MAXSOCKBUF. * net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node while 5.0 does. * net/if_ppp.c: Removed the TEXT_SET define as these macros are now implemented. * net/rtsock.c: Enable sysctl support plus fix the bug with the lastest FreeBSD sysctl header file. * netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp node while 5.0 does. * netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether node while 5.0 does. * netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp node while 5.0 does. * netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add inp_gencnt and ipi_count. These are used when listing connections. * netinet/in_pcb.h: Added counters to aid the listing of connections. * netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes. * netinet/ip_fw.c: Disable the firewall sysctl calls. * netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source. * netinet/tcp_var.h: Add structures needed by net-snmp to list connections. * netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD source. * netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by net-snmp. * rtems_glue.c: Call sysctl_register_all when initialising the network stack to register all the sysctl calls. These are in the special sections and required an updated linker script. * rtems/rtems_syscall.c: Add the sysctl call. * sys/kernel.h: Use the lastest FreeBSD method of handling sysctl structures. This now held in the sys/linker_set.h file. * sys/queue.h: This is from the lastest FreeBSD code with the circular code merged back in as it is not used in the lastest FreeBSD kernel. * sys/sysctl.h: The lastest sysctl. This was needed to use with the new linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest version of the FreeBSD does not have these hacks. It uses gcc attribute directives.
2002-10-282002-10-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+8
* Pass to eliminate warnings. * kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__. Fix return statement without a value. * lib/ftpfs.c: read and write filesystem routines return ssize_t. * lib/syslog.c: Add include of <string.h> to eliminate warning. * lib/tftpDriver.c: read and write filesystem routines return ssize_t. * libc/gethostbydns.c: Prototype abort(). * libc/inet_ntoa.c: Prototype strcpy(). * libc/rcmd.c: Add include of <sys/select.h> * net/if_loop.c: Turn token at end of endif to comment. * net/rtsock.c, nfs/bootp_subr.c: Conditional SYSINIT() usage on __rtems__. * rtems/rtems_bootp.c: Add include of <rtems/rtems_bsdnet_internal.h>. * rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and memset() since the BSD code tries to avoid using libc .h files since it is used to being in the kernel. * rtems/rtems_syscall.c: read and write filesystem routines return ssize_t.
1998-08-20Fixed many warnings.Joel Sherrill1-2/+2
1998-08-19Base filesJoel Sherrill1-0/+829