13 Commits

Author SHA1 Message Date
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