22 Commits

Author SHA1 Message Date
Sebastian Huber
b1e67a2bdc telnet: Use rtems_shell_dup_current_env()
Update #3859.
2020-08-06 13:22:42 +02:00
Moyano, Gabriel
0444b24bf9 testsuite: A description for each test added 2020-04-09 08:35:41 +02:00
Moyano, Gabriel
9478d56165 testsuite: User input define added 2020-03-31 11:19:48 +02:00
Sebastian Huber
02373194fe Update due to Newlib 2017-06-07 changes
The following files are now provided by Newlib:

  * arpa/inet.h
  * net/if.h
  * netinet/in.h
  * netinet/tcp.h
  * sys/socket.h
  * sys/uio.h
  * sys/un.h

The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be
used directly.

Update #2833.
2017-06-08 13:19:54 +02:00
Sebastian Huber
045ff6e11c Add poll() and select() support for Termios 2017-02-28 10:54:50 +01:00
Sebastian Huber
631fb983aa netshell01: Add license, fix format 2017-02-28 10:07:37 +01:00
Sebastian Huber
64c663c0d1 ARP(8): Port to RTEMS 2017-01-10 11:03:32 +01:00
Sebastian Huber
c4e89a9125 VMSTAT(8): Port to RTEMS 2017-01-10 09:53:34 +01:00
Sebastian Huber
c40e45b75e Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
2017-01-10 09:53:31 +01:00
Sebastian Huber
50e82a6d15 HOSTNAME(1): Import from FreeBSD 2014-11-05 14:28:11 +01:00
Sebastian Huber
9219a29a90 Update due to shell API changes 2014-04-17 11:27:45 +02:00
Sebastian Huber
fafa9e2716 testsuite: Simplify tests 2013-11-13 17:44:40 +01:00
Sebastian Huber
86711191c0 netshell01: Avoid multiple definitions 2013-10-31 13:18:54 +01:00
Sebastian Huber
e599318e91 Update files to match FreeBSD layout
Add compatibility with Newlib header files.  Some FreeBSD header files
are mapped by the translation script:

     o rtems/bsd/sys/_types.h
     o rtems/bsd/sys/errno.h
     o rtems/bsd/sys/lock.h
     o rtems/bsd/sys/param.h
     o rtems/bsd/sys/resource.h
     o rtems/bsd/sys/time.h
     o rtems/bsd/sys/timespec.h
     o rtems/bsd/sys/types.h
     o rtems/bsd/sys/unistd.h

It is now possible to include <sys/socket.h> directly for example.

Generate one Makefile which builds everything including tests.
2013-10-10 09:08:23 +02:00
Joel Sherrill
2cf245e32d netshell01: Add netstat command 2012-10-23 11:01:36 -05:00
Joel Sherrill
44ffbd53c6 Add ifconfig command as RTEMS Shell command
This is enough to be able to invoke the ifconfig command but it
calls exit() which is inappropriate.

The "struct option" in the ifconfig code conflicts with a structure
of the same name in newlib's and glibc's getopt.h.
2012-10-11 19:03:46 -05:00
Jennifer Averett
fe98401354 netshell01: Add ns parser globals needed for ping. 2012-10-11 08:30:50 -05:00
Joel Sherrill
ea3f3a331f netshell01/.gitignore: Update 2012-09-11 16:06:33 -05:00
Joel Sherrill
c6a5ede79d netshell01/.gitignore: New file 2012-09-11 16:04:07 -05:00
Joel Sherrill
e6fe77ef56 freebsd-userspace/Makefile: Resolve conflict so ifconfig and netstat are both here 2012-09-07 13:19:21 -05:00
Joel Sherrill
db068df3c4 netshell01: Link against ping command 2012-09-07 12:49:40 -05:00
Joel Sherrill
42cd4b0bde netshell01: New test and stop using old network configuration code
The old network configuration using a data structure does not
support IPV6 and does not support all of the network settings
that the FreeBSD command line utilities do. Transition to using
the network utilities like ifconfig, route, etc. to initialize
the NIC configuration.
2012-09-01 13:34:49 -05:00