17 Commits

Author SHA1 Message Date
Christian Mauderer
09ce54ec14 pfctl: Add yacc generated file. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d79524e4a7 pfctl: Adapt for RTEMS. 2016-08-02 10:21:52 +02:00
Christian Mauderer
686583cba4 pfctl: Use static where possible. 2016-08-02 10:21:52 +02:00
Christian Mauderer
c70221cb64 pfctl: Add const and move static variables.
Note: This should be upstreamed into BSD.

Make everything constant that can be constant and move static variables
out of their functions.
2016-08-02 10:21:51 +02:00
Christian Mauderer
b6252fb806 pfctl: Match prototype.
Note: This should be upstreamed into BSD.
2016-08-02 10:21:51 +02:00
Christian Mauderer
6e9a8eadf5 pfctl: Import sources from FreeBSD. 2016-08-02 10:21:51 +02:00
Christian Mauderer
21abaef9b0 freebsd: Don't use new wrappers for old ports.
Some of the commands have been adapted manually. So the wrapper
currently don't necessarily work as expected. For example ifconfig calls
malloc outside of the program call.
2016-08-02 10:21:51 +02:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Chris Johns
c6e539593e tcpdump: Return the PCAP loop return value. Increase the stack size. 2015-06-26 15:20:22 +10:00
Chris Johns
9ee5268786 tcpdump: Allow enter/return to exit tcpdump.
Implement the PCAP loop in a separate thread and block the shell
thread in the stdin getchar. When a user presses enter/return
call the PCAP break loop function to have it return.
2015-06-26 15:15:57 +10:00
Chris Johns
c31922b8c4 Fix RTEMS ifdef labelling. 2015-06-19 15:32:13 +10:00
Chris Johns
2abb43138e Add the missing generated libpcap file. 2015-06-16 21:23:12 +10:00
Chris Johns
affed5e3f5 Add BDS command support headers. 2015-06-16 13:20:15 +10:00
Chris Johns
8440506ee8 Add tcpdump and libpcap.
- Update the file builder generator to handle generator specific cflags and
  includes. The tcpdump and libpcap have localised headers and need specific
  headers paths to see them. There are also module specific flags and these
  need to be passed to the lex and yacc generators.

- Add the tcpdump support.
2015-06-15 17:42:23 +10:00
Joel Sherrill
9a8e3e0dd0 Revert move of contrib until more sorted out 2012-03-08 08:17:55 -06:00
Joel Sherrill
e2d2bf579b Move rtems/freebsd to freebsd and contrib to freebsd/contrib 2012-03-08 07:25:21 -06:00