Module Name:    othersrc
Committed By:   dyoung
Date:           Mon Aug 10 21:11:00 UTC 2015

Added Files:
        othersrc/external/bsd/arfe: Makefile README
        othersrc/external/bsd/arfe/dt: .cvsignore Makefile README dt.c testit
        othersrc/external/bsd/arfe/dt/rr: abecedarian-abracadabra
            abracadabra-abecedarian daily-output-2-daily-output-5
            daily-output-5-daily-output-2 daily-output-5-daily-output-6
            daily-output-6-daily-output-5 daily-output-6-daily-output-7
            daily-output-7-daily-output-6 ifconfig.0-ifconfig.1
            ifconfig.0-logger-ifconfig.0 ifconfig.1-ifconfig.0
            logger-ifconfig.0-ifconfig.0 netstat-s.0-netstat-s.1
            netstat-s.1-netstat-s.0 quack123quack-quack456quack
            quack456quack-quack123quack quackabequack-quackdariaquack
            quackdariaquack-quackabequack wm0-a-wm0-b wm0-b-wm0-a
        othersrc/external/bsd/arfe/dt/t: abecedarian abracadabra daily-output-2
            daily-output-5 daily-output-6 daily-output-7 ifconfig.0 ifconfig.1
            logger-ifconfig.0 netstat-s.0 netstat-s.1 quack123quack
            quack456quack quackabequack quackdariaquack wm0-a wm0-b
        othersrc/external/bsd/arfe/it: .cvsignore Makefile README

Log Message:
Commit the beginnings of ARFE.

ARFE is a suite of tools for processing record- and field-oriented
digital texts.  ARFE strives to make a useful set of automatic
text-processing functions available at a level of abstraction that both
invites use by lay people and frees programmers from painstakingly
specifying input and output forms.  ARFE stands for (A)d hoc (R)ecord
and (F)ield (E)xtraction.  It is pronounced "arf!"


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/Makefile \
    othersrc/external/bsd/arfe/README
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/dt/.cvsignore \
    othersrc/external/bsd/arfe/dt/Makefile \
    othersrc/external/bsd/arfe/dt/README othersrc/external/bsd/arfe/dt/dt.c \
    othersrc/external/bsd/arfe/dt/testit
cvs rdiff -u -r0 -r1.1 \
    othersrc/external/bsd/arfe/dt/rr/abecedarian-abracadabra \
    othersrc/external/bsd/arfe/dt/rr/abracadabra-abecedarian \
    othersrc/external/bsd/arfe/dt/rr/daily-output-2-daily-output-5 \
    othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-2 \
    othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-6 \
    othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-5 \
    othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-7 \
    othersrc/external/bsd/arfe/dt/rr/daily-output-7-daily-output-6 \
    othersrc/external/bsd/arfe/dt/rr/ifconfig.0-ifconfig.1 \
    othersrc/external/bsd/arfe/dt/rr/ifconfig.0-logger-ifconfig.0 \
    othersrc/external/bsd/arfe/dt/rr/ifconfig.1-ifconfig.0 \
    othersrc/external/bsd/arfe/dt/rr/logger-ifconfig.0-ifconfig.0 \
    othersrc/external/bsd/arfe/dt/rr/netstat-s.0-netstat-s.1 \
    othersrc/external/bsd/arfe/dt/rr/netstat-s.1-netstat-s.0 \
    othersrc/external/bsd/arfe/dt/rr/quack123quack-quack456quack \
    othersrc/external/bsd/arfe/dt/rr/quack456quack-quack123quack \
    othersrc/external/bsd/arfe/dt/rr/quackabequack-quackdariaquack \
    othersrc/external/bsd/arfe/dt/rr/quackdariaquack-quackabequack \
    othersrc/external/bsd/arfe/dt/rr/wm0-a-wm0-b \
    othersrc/external/bsd/arfe/dt/rr/wm0-b-wm0-a
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/dt/t/abecedarian \
    othersrc/external/bsd/arfe/dt/t/abracadabra \
    othersrc/external/bsd/arfe/dt/t/daily-output-2 \
    othersrc/external/bsd/arfe/dt/t/daily-output-5 \
    othersrc/external/bsd/arfe/dt/t/daily-output-6 \
    othersrc/external/bsd/arfe/dt/t/daily-output-7 \
    othersrc/external/bsd/arfe/dt/t/ifconfig.0 \
    othersrc/external/bsd/arfe/dt/t/ifconfig.1 \
    othersrc/external/bsd/arfe/dt/t/logger-ifconfig.0 \
    othersrc/external/bsd/arfe/dt/t/netstat-s.0 \
    othersrc/external/bsd/arfe/dt/t/netstat-s.1 \
    othersrc/external/bsd/arfe/dt/t/quack123quack \
    othersrc/external/bsd/arfe/dt/t/quack456quack \
    othersrc/external/bsd/arfe/dt/t/quackabequack \
    othersrc/external/bsd/arfe/dt/t/quackdariaquack \
    othersrc/external/bsd/arfe/dt/t/wm0-a \
    othersrc/external/bsd/arfe/dt/t/wm0-b
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/it/.cvsignore \
    othersrc/external/bsd/arfe/it/Makefile \
    othersrc/external/bsd/arfe/it/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: othersrc/external/bsd/arfe/Makefile
diff -u /dev/null othersrc/external/bsd/arfe/Makefile:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/Makefile	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,5 @@
+.include <bsd.own.mk>
+
+SUBDIR=dt it
+
+.include <bsd.subdir.mk>
Index: othersrc/external/bsd/arfe/README
diff -u /dev/null othersrc/external/bsd/arfe/README:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/README	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,36 @@
+ARFE is a suite of tools for processing record- and field-oriented
+digital texts.  ARFE strives to make a useful set of automatic
+text-processing functions available at a level of abstraction that both
+invites use by lay people and frees programmers from painstakingly
+specifying input and output forms.  ARFE stands for (A)d hoc (R)ecord
+and (F)ield (E)xtraction.  It is pronounced "arf!"
+
+ARFE supposes different conditions, user motivations and interests
+than the traditional UNIX programs for text processing.  ARFE supposes
+neither that records conform to any *known* specification, nor that
+the records are defect-free.  ARFE does assume that the records are
+regular on their face, and that at least one representative example of
+a record exists.  ARFE does not assume the user has a knack for writing
+code, including symbolic match expressions such as regular expressions.
+The typical user is assumed to have little interest in or use for
+computer-science abstractions and notations.
+
+ARFE focuses on record- and field-oriented texts because such text
+abound on the web and on the typical UNIX system.  Examples are lists
+of goods for sale on a web site, the contents of a web shopping cart,
+an invoice, an address book, an email inbox, a utility bill, a chat
+transcript, and the state of all network interfaces on a UNIX system
+(ifconfig -a).
+
+Today, there are just two ARFE programs, DT---(d)ifferentiate
+(t)ext---and IT---(i)ntegrate (t)ext.  DT finds a longest common
+subsequence (LCS) of two texts where decimal numbers are "wild": a span
+of decimal digits in the first text will match a digits span in the
+second text.  Then it emits the LCS, replacing matched pairs of decimal
+numbers with their difference.  IT is a variation on DT that adds
+instead of subtracts.
+
+DT arose from the author's desire to examine the rate of change of
+network statistics from several sources (ifconfig -va, netstat -s, a
+network daemon's log dumps) without writing several one-off programs.
+The experience of writing and using DT inspired the ARFE concept.

Index: othersrc/external/bsd/arfe/dt/.cvsignore
diff -u /dev/null othersrc/external/bsd/arfe/dt/.cvsignore:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/.cvsignore	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,5 @@
+*.core
+*.d
+.depend
+.gdbinit
+dt
Index: othersrc/external/bsd/arfe/dt/Makefile
diff -u /dev/null othersrc/external/bsd/arfe/dt/Makefile:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/Makefile	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,22 @@
+NOMAN=
+.include <bsd.own.mk>
+
+PROG=dt
+SRCS+=dt.c
+#CPPFLAGS+=-DHB_DEBUG
+DBG+=-g -O3
+#DBG+=-g -O0
+#COPTS+=-pg
+#LDFLAGS+=-pg
+CFLAGS+=-std=c99
+WARNS=5
+
+tags: $(SRCS) $(INCS)
+	@rm -f $(.OBJDIR)/tags
+	@ctags -atwd $(.ALLSRC)
+	@sort -o $(.OBJDIR)/tags $(.OBJDIR)/tags
+
+test:
+	@sh $(.CURDIR)/testit
+
+.include <bsd.prog.mk> 
Index: othersrc/external/bsd/arfe/dt/README
diff -u /dev/null othersrc/external/bsd/arfe/dt/README:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/README	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,12 @@
+DT---(d)ifferentiate (t)ext---finds a longest common subsequence (LCS)
+of two texts where decimal numbers are "wild": a span of decimal digits
+in the first text will match a digits span in the second text.  Then it
+emits the LCS, replacing matched pairs of decimal numbers with their
+difference.
+
+DT arose from the author's desire to examine the rate of change of
+network statistics from several sources (ifconfig -va, netstat -s, a
+network daemon's log dumps) without writing several one-off programs.
+The experience of writing and using DT inspired the ARFE concept.
+
+See ../README for more information about ARFE.
Index: othersrc/external/bsd/arfe/dt/dt.c
diff -u /dev/null othersrc/external/bsd/arfe/dt/dt.c:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/dt.c	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,1020 @@
+#include <sys/cdefs.h>	/* for __cacheline_aligned */
+#include <sys/param.h>	/* for MAX() */
+#include <sys/queue.h>	/* for TAILQ_*() */
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <assert.h>
+#include <err.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <inttypes.h>
+#include <stdarg.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <limits.h>
+#include <string.h>
+
+#if defined(HB_DEBUG)
+#define	dbg_assert	assert
+#else
+#define dbg_assert(__x)	do { } while (false) /* do nothing */
+#endif
+
+typedef struct origin {
+	int i;
+	int j;
+} origin_t;
+
+typedef struct chainelt {
+	TAILQ_ENTRY(chainelt) ce_link;
+	int ce_column;	/*  0: no column alignment,
+			 * -x: starts at column x (1 = first column)
+			 *  x: ends at column x (1 = first column)
+			 */
+	char *ce_content;
+} chainelt_t;
+
+typedef struct chain {
+	TAILQ_HEAD(chainhead, chainelt)	c_head;
+} chain_t;
+
+typedef struct slice {
+	const char *first;
+	const char *last;
+	bool backward;
+} slice_t;
+
+typedef struct clocc {
+	int column;
+	int first;
+	int last;
+	enum {
+		  KIND_NONE = 0
+		, KIND_INTMAX
+		, KIND_STRING
+	} kind;
+	union {
+		intmax_t u_intmax;
+	} val_u;
+} clocc_t;
+
+typedef struct cloccs {
+	int noccs;
+	clocc_t occs[1024];
+} cloccs_t;
+
+typedef struct scratch {
+	size_t *L1;	/* n + 1 */
+	size_t *L2;	/* n + 1 */
+	size_t *K[2];	/* 2 x (n + 1) */
+	size_t *Kclocc;	/* n + 1 */
+	cloccs_t Aoccs, Boccs;
+	slice_t *Abasis, *Bbasis;
+	size_t expected_lcs;
+	char op;
+} scratch_t;
+
+union freeslice;
+typedef union freeslice freeslice_t;
+
+union freeslice {
+	slice_t s;
+	freeslice_t *next;
+};
+
+static const char *names[] = {
+	  "abe"
+	, "ada"
+	, "daria"
+};
+
+static const size_t no_expected_lcs = SIZE_T_MAX;
+
+static bool freeslices_initialized __aligned(COHERENCY_UNIT);
+static freeslice_t *first_freeslice __aligned(COHERENCY_UNIT);
+static freeslice_t freeslices[2048];
+
+static int mainloop __aligned(COHERENCY_UNIT) = 0;
+
+static int dbg_printf(const char *, ...) __printflike(1, 2);
+static int dbg2_printf(const char *, ...) __printflike(1, 2);
+
+#if defined(HB_DEBUG)
+static inline int
+dbg_printf(const char *fmt, ...)
+{
+	va_list ap;
+
+	va_start(ap, fmt);
+	const int rc = vfprintf(stderr, fmt, ap);
+	va_end(ap);
+	return rc;
+}
+
+static inline int
+dbg2_printf(const char *fmt, ...)
+{
+	va_list ap;
+
+	va_start(ap, fmt);
+	const int rc = vfprintf(stderr, fmt, ap);
+	va_end(ap);
+	return rc;
+}
+#else
+static inline int
+dbg_printf(const char *fmt, ...)
+{
+	return 0;
+}
+
+static inline int
+dbg2_printf(const char *fmt, ...)
+{
+	return 0;
+}
+#endif
+
+static void
+init_freeslices(void)
+{
+	unsigned int i;
+
+	for (i = 0; i < __arraycount(freeslices) - 1; i++)
+		freeslices[i].next = &freeslices[i + 1];
+	freeslices[i].next = NULL;
+
+	first_freeslice = &freeslices[0];
+
+	freeslices_initialized = true;
+}
+
+static slice_t *
+slice_alloc(void)
+{
+	slice_t *s;
+
+	if (!freeslices_initialized)
+		init_freeslices();
+
+	s = &first_freeslice->s;
+	first_freeslice = first_freeslice->next;
+	return s;
+}
+
+static void
+slice_free(slice_t *s)
+{
+	freeslice_t *fs = (freeslice_t *)s;
+
+	fs->next = first_freeslice;
+	first_freeslice = fs;
+}
+
+static slice_t *
+newslice(char *buf, size_t buflen)
+{
+	slice_t *s = slice_alloc();
+
+	if (s == NULL)
+		return NULL;
+
+	s->backward = false;
+
+	s->first = buf;
+	s->last = buf + buflen - 1;
+
+	return s;
+}
+
+static slice_t *
+file_to_slice(const char *fn)
+{
+	const int fd = open(fn, O_RDONLY);
+	struct stat st;
+	void *p;
+
+	if (fd == -1)
+		err(EXIT_FAILURE, "%s: open", __func__);
+	
+	if (fstat(fd, &st) == -1)
+		err(EXIT_FAILURE, "%s: stat", __func__);
+
+	p = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED|MAP_FILE, fd, 0);
+
+	if (p == MAP_FAILED)
+		err(EXIT_FAILURE, "%s: mmap", __func__);
+
+	return newslice(p, st.st_size);
+}
+
+static size_t
+length(const slice_t *s)
+{
+	if (s->first > s->last)
+		return 0;
+
+	return s->last - s->first + 1;
+}
+
+static bool
+ispresent(const slice_t *s, char c)
+{
+	const char *p;
+
+	for (p = s->first; p <= s->last; p++) {
+		if (c == *p)
+			return true;
+	}
+	return false;
+}
+
+static inline char
+get(const slice_t *s, unsigned int i)
+{
+	dbg_assert(i < length(s));
+
+	return (s->backward) ? s->last[-i] : s->first[i];
+}
+
+static inline const char *
+getp(const slice_t *s, unsigned int i)
+{
+	dbg_assert(i < length(s));
+
+	return (s->backward) ? &s->last[-i] : &s->first[i];
+}
+
+static void
+extract(const slice_t *s, unsigned int i, unsigned int j, char *o)
+{
+	unsigned int k, inc;
+	char *p;
+
+	inc = (i < j) ? 1 : -1;
+	p = o;
+
+	for (k = i; ; k += inc) {
+		*p++ = get(s, k);
+		if (k == j)
+			break;
+	}
+
+	*p = '\0';
+}
+
+static slice_t *
+subslice(const slice_t *s, unsigned int i, unsigned int j)
+{
+	slice_t *ss;
+	const char *first, *last;
+
+	dbg_assert(MAX(i, j) < length(s));
+
+	ss = slice_alloc();
+
+	if (ss == NULL)
+		return NULL;
+
+	first = getp(s, i);
+	last = getp(s, j);
+
+	ss->backward = first > last;
+
+	if (ss->backward) {
+		ss->first = last;
+		ss->last = first;
+	} else {
+		ss->first = first;
+		ss->last = last;
+	}
+
+	return ss;
+}
+
+static bool
+clocc_starts_at(const cloccs_t *o, int first, size_t *wlenp)
+{
+	const clocc_t *occ;
+	int l, m, r;
+
+	l = 0;
+	r = o->noccs - 1;
+
+	while (l <= r) {
+		m = (l + r) / 2;
+		occ = &o->occs[m];
+		if (first < occ->first)
+			r = m - 1;
+		else if (occ->first < first)
+			l = m + 1;
+		else
+			goto found;
+	}
+	return false;
+
+found:
+	if (wlenp != NULL)
+		*wlenp = occ->last - occ->first + 1;
+	return true;
+}
+
+static bool
+clocc_ends_at(const cloccs_t *o, int last, size_t *wlenp)
+{
+	const clocc_t *occ;
+	int l, m, r;
+
+	l = 0;
+	r = o->noccs - 1;
+
+	while (l <= r) {
+		m = (l + r) / 2;
+		occ = &o->occs[m];
+		if (last < occ->last)
+			r = m - 1;
+		else if (occ->last < last)
+			l = m + 1;
+		else
+			goto found;
+	}
+	return false;
+
+found:
+	if (wlenp != NULL)
+		*wlenp = occ->last - occ->first + 1;
+	return true;
+}
+
+static int
+index_versus_basis(const slice_t *basis, const slice_t *s, int i)
+{
+	dbg_assert(!basis->backward);
+
+	return getp(s, i) - getp(basis, 0);
+}
+
+static bool
+clocc_starts_in_slice_at(const cloccs_t *o, const slice_t *basis,
+    const slice_t *s, int i, size_t *wlenp)
+{
+	const int iprime = index_versus_basis(basis, s, i);
+
+	return (s->backward) ? clocc_ends_at(o, iprime, NULL)
+	                     : clocc_starts_at(o, iprime, NULL);
+}
+
+static bool
+clocc_ends_in_slice_at(const cloccs_t *o, const slice_t *basis,
+    const slice_t *s, int i, size_t *wlenp)
+{
+	const int iprime = index_versus_basis(basis, s, i);
+
+	return (s->backward) ? clocc_starts_at(o, iprime, wlenp)
+	                     : clocc_ends_at(o, iprime, wlenp);
+}
+
+static chain_t *
+newchain(char *content, int column)
+{
+	chain_t *c;
+	chainelt_t *ce;
+
+	c = malloc(sizeof(*c));
+	assert(c != NULL);
+
+	ce = malloc(sizeof(*ce));
+	assert(c != NULL);
+
+	ce->ce_column = column;
+	ce->ce_content = content;
+	TAILQ_INIT(&c->c_head);
+	TAILQ_INSERT_TAIL(&c->c_head, ce, ce_link);
+
+	return c;
+}
+
+static chain_t *
+clocc(const scratch_t *scratch, int idx_a, int idx_b)
+{
+	char *ret;
+	int column;
+	intmax_t result;
+	const clocc_t * const a = &scratch->Aoccs.occs[idx_a],
+	              * const b = &scratch->Boccs.occs[idx_b];
+
+	if (a->kind != b->kind)
+		return newchain(strdup("<clocc>"), 0);
+
+	if (b->kind != KIND_INTMAX)
+		return newchain(strdup("<word>"), 0);
+
+	if (a->column + a->last - a->first ==
+	    b->column + b->last - b->first)
+		column = b->column + b->last - b->first;
+	else if (a->column == b->column)
+		column = -a->column;
+	else
+		column = 0;
+
+	dbg2_printf("%jd @ %d / %jd @ %d -> column %d\n",
+	    a->val_u.u_intmax, a->column,
+	    b->val_u.u_intmax, b->column, column);
+
+	if (scratch->op == '-')
+		result = b->val_u.u_intmax - a->val_u.u_intmax;
+	else
+		result = b->val_u.u_intmax + a->val_u.u_intmax;
+
+	if (asprintf(&ret, "%jd", result) != -1)
+		return newchain(ret, column);
+
+	return newchain(strdup("<intmax>"), column);
+}
+
+static chain_t *
+empty(void)
+{
+	return newchain(strdup(""), 0);
+}
+
+static void
+algb(const slice_t *A, const slice_t *B, scratch_t *scratch, size_t *LL,
+    bool do_clocc)
+{
+	const size_t m = length(A);
+	const size_t n = length(B);
+	unsigned int i, j;
+	size_t *K[2], *Kclocc, *Kcur, *Kprev, *Ktmp;
+	struct {
+		size_t A, B;
+	} wlen;
+	bool inside_clocc = false;
+
+	K[0] = scratch->K[0];
+	K[1] = scratch->K[1];
+
+	/* A copy of the K[] at which a clocc last began. */
+	Kclocc = scratch->Kclocc;
+
+	for (j = 0; j < n + 1; j++)
+		K[0][j] = 0;
+
+	/* make -1 a valid index on all arrays */
+	Kprev = K[0] + 1;
+	Kcur = K[1] + 1;
+	Kclocc++;
+
+	for (i = 0; i < m; i++) {
+		const bool clocc_starts_this_row = do_clocc &&
+		    clocc_starts_in_slice_at(&scratch->Aoccs, scratch->Abasis,
+		                             A, i, NULL);
+
+		if (clocc_starts_this_row) {
+			assert(!inside_clocc);
+			dbg_printf("%s: row %d, clocc starts\n", __func__, i);
+			memcpy(&Kclocc[-1], &Kprev[-1],
+			    sizeof(Kclocc[0]) * (n + 1));
+			inside_clocc = true;
+		}
+
+		const bool clocc_ends_this_row = inside_clocc &&
+		    clocc_ends_in_slice_at(&scratch->Aoccs, scratch->Abasis,
+		        A, i, &wlen.A);
+
+		for (j = 0; j < n; j++) {
+
+			size_t u = Kprev[j], ul = Kprev[j - 1], l = Kcur[j - 1];
+
+			if (get(A, i) == get(B, j))
+				ul++;
+
+			if (clocc_ends_this_row &&
+			    clocc_ends_in_slice_at(&scratch->Boccs,
+			                          scratch->Bbasis, B, j,
+						  &wlen.B)) {
+				const size_t step = wlen.A * wlen.B + 1,
+				             nscore = Kclocc[j - wlen.B] + step;
+				assert(wlen.B <= j + 1);
+				dbg_printf("%s visits clocc boundary at A[%d] "
+				    "and B[%d] step %zu\n", __func__,
+				    index_versus_basis(scratch->Abasis, A, i),
+				    index_versus_basis(scratch->Bbasis, B, j),
+				    step);
+				Kcur[j] = MAX(MAX(l, u),
+				              MAX(ul, nscore));
+			} else
+				Kcur[j] = MAX(MAX(u, ul), l);
+			dbg_printf("%s set K[%d][%d] to %zu%s\n",
+			    __func__, i, j, Kcur[j], inside_clocc ? "*" : "");
+		}
+		if (clocc_ends_this_row) {
+			dbg_printf("%s: row %d, clocc ends\n", __func__, i);
+			inside_clocc = false;
+		}
+
+		Ktmp = Kprev;
+		Kprev = Kcur;
+		Kcur = Ktmp;
+	}
+	assert(Kprev[-1] == 0 && Kcur[-1] == 0 && Kclocc[-1] == 0);
+	Kprev--;
+	for (j = 0; j < n + 1; j++)
+		LL[j] = Kprev[j];
+}
+
+static const clocc_t *
+index_to_clocc_container(const cloccs_t *o, int i)
+{
+	const clocc_t *occ;
+	int l, m, r;
+
+	l = 0;
+	r = o->noccs - 1;
+
+	while (l <= r) {
+		m = (l + r) / 2;
+		occ = &o->occs[m];
+		if (i < occ->first)
+			r = m - 1;
+		else if (occ->last < i)
+			l = m + 1;
+		else
+			goto found;
+	}
+	return NULL;
+
+found:
+	return occ;
+}
+
+static int
+split_interval(cloccs_t *o, int origin, int len)
+{
+	struct {
+		int lo, mid, hi;
+	} bkpt;
+
+	bkpt.mid = origin + len / 2;
+
+	dbg_printf("searching [%d, %d] for split\n", origin, origin + len - 1);
+
+	const clocc_t *occ = index_to_clocc_container(o, bkpt.mid);
+
+	if (occ == NULL ||
+	    occ->first < origin || origin + len < occ->last + 1 ||
+	    (occ->first == origin && origin + len == occ->last + 1)) {
+		dbg_printf("split %d\n", bkpt.mid);
+		return bkpt.mid - origin;
+	}
+
+	bkpt.lo = MAX(occ->first, origin);
+	bkpt.hi = MIN(occ->last, origin + len - 1);
+
+	dbg_printf("split %d in [%d, %d] ([%d, %d])\n", bkpt.mid,
+	   occ->first, occ->last, bkpt.lo, bkpt.hi);
+
+	if (bkpt.lo == origin) {
+		dbg_printf("split %d -> %d (l.%d)\n", bkpt.mid,
+		    bkpt.hi + 1, __LINE__);
+		return bkpt.hi + 1 - origin;
+	}
+	if (bkpt.hi == origin + len - 1) {
+		dbg_printf("split %d -> %d (l.%d)\n", bkpt.mid, bkpt.lo,
+		    __LINE__);
+		return bkpt.lo - origin;
+	}
+
+	if (bkpt.mid - bkpt.lo < bkpt.hi - bkpt.mid) {
+		dbg_printf("split %d -> %d (l.%d)\n", bkpt.mid, bkpt.lo,
+		    __LINE__);
+		return bkpt.lo - origin;
+	}
+
+	dbg_printf("split %d -> %d (l.%d)\n", bkpt.mid, bkpt.hi + 1,
+	    __LINE__);
+	return bkpt.hi + 1 - origin;
+}
+
+/* Find the widest clocc contained entirely in [origin + first, origin + last].
+ * Return its offset from origin at startp, and the last character's offset from
+ * origin at endp.  Return the index of the clocc in `o', or
+ * -1 if no clocc matches.
+ */
+static int
+widest_clocc_in_interval(cloccs_t *o, int origin, int first, int last,
+    int *startp, int *endp)
+{
+	int i, widest = -1, maxw = 0;
+
+	for (i = 0; i < o->noccs; i++) {
+		int w;
+
+		if (origin + first > o->occs[i].first)
+			continue;
+		if (o->occs[i].last > origin + last)
+			break;
+
+		w = o->occs[i].last - o->occs[i].first + 1;
+		if (w > maxw) {
+			maxw = w;
+			*startp = o->occs[i].first - origin;
+			*endp = o->occs[i].last - origin;
+			widest = i;
+		}
+	}
+	return widest;
+}
+
+static int
+interval_to_clocc_index(cloccs_t *o, int origin, int first, int last)
+{
+	int i;
+
+	for (i = 0; i < o->noccs; i++) {
+		if (origin + first == o->occs[i].first &&
+		    origin + last == o->occs[i].last)
+			return i;
+	}
+	return -1;
+}
+
+static inline chain_t *
+algc_return(const size_t m, const size_t n, const origin_t origin,
+    size_t *lcsp, size_t lcs, chain_t *c)
+{
+	if (lcsp != NULL) {
+		dbg_printf("%s([%d, %d], [%d, %d]) -> %zu\n", __func__,
+		    origin.i, origin.i + m - 1,
+		    origin.j, origin.j + n - 1, lcs);
+		*lcsp = lcs;
+	}
+
+	return c;
+}
+
+static chain_t *
+joinchains(chain_t *ac, chain_t *bc)
+{
+	chainelt_t *ace, *bce;
+
+	ace = TAILQ_LAST(&ac->c_head, chainhead);
+	bce = TAILQ_FIRST(&bc->c_head);
+
+	if (ace->ce_column == 0 && bce->ce_column == 0) {
+		char *c, *c1, *c2;
+		c1 = ace->ce_content;
+		c2 = bce->ce_content;
+		c = malloc(strlen(c1) + strlen(c2) + 1);
+		assert(c != NULL);
+		strcpy(c, c1);
+		strcat(c, c2);
+		free(c1);
+		free(c2);
+		ace->ce_content = c;
+		TAILQ_REMOVE(&bc->c_head, bce, ce_link);
+		TAILQ_CONCAT(&ac->c_head, &bc->c_head, ce_link);
+		free(bc);
+	} else {
+		TAILQ_CONCAT(&ac->c_head, &bc->c_head, ce_link);
+		free(bc);
+	}
+	return ac;
+}
+
+static chain_t *
+algc(const slice_t *A, const slice_t *B, scratch_t *scratch,
+    const origin_t origin, const size_t expected_lcs, size_t *lcsp)
+{
+	chain_t *c1, *c2, *c;
+	unsigned int j, k;
+	const size_t m = length(A), n = length(B); 
+	struct {
+		int A, B;
+	} ivlidx;
+	struct {
+		size_t topl;
+		size_t botr;
+		size_t tot;
+	} lcs = {.tot = 0};
+	const slice_t *B1n;
+	slice_t *A1i, *Amip1, *Bn1;
+	slice_t *B1k, *Aip1m, *Bkp1n;
+
+	dbg_printf("%s([%d, %d], [%d, %d])\n", __func__,
+	    origin.i, origin.i + m - 1,
+	    origin.j, origin.j + n - 1);
+
+	if (n == 0) {
+		assert(expected_lcs == no_expected_lcs || 0 == expected_lcs);
+		return algc_return(m, n, origin, lcsp, 0, empty());
+	}
+
+	ivlidx.A = interval_to_clocc_index(&scratch->Aoccs, origin.i, 0, m - 1);
+
+	/* If A is a clocc occurrence, must try to match A with a clocc in B! */
+	if (ivlidx.A != -1) {
+		int start = 0, end = 0;
+
+		ivlidx.B = widest_clocc_in_interval(&scratch->Boccs, origin.j,
+		    0, n - 1, &start, &end);
+
+		if (ivlidx.B != -1) {
+			dbg_assert(expected_lcs == no_expected_lcs ||
+			    (size_t)(end - start + 2) == expected_lcs);
+			return algc_return(m, n, origin, lcsp,
+			    (size_t)(end - start + 2),
+			    clocc(scratch, ivlidx.A, ivlidx.B));
+		}
+	}
+	if (m == 1) {
+		char A0 = get(A, 0);
+
+		if (ispresent(B, A0)) {
+			dbg_assert(expected_lcs == no_expected_lcs ||
+			    1 == expected_lcs);
+			return algc_return(m, n, origin, lcsp, 1,
+			    newchain(strndup(&A0, 1), 0));
+		}
+
+		assert(expected_lcs == no_expected_lcs || 0 == expected_lcs);
+
+		return algc_return(m, n, origin, lcsp, 0, empty());
+	}
+
+	const unsigned int i = split_interval(&scratch->Aoccs, origin.i, m);
+	A1i = subslice(A, 0, i - 1);
+	B1n = B;
+	Amip1 = subslice(A, m - 1, i);
+	Bn1 = subslice(B, n - 1, 0);
+	algb(A1i, B1n, scratch, scratch->L1, true);
+	dbg_printf("%s called algb once\n", __func__);
+	algb(Amip1, Bn1, scratch, scratch->L2, true);
+	dbg_printf("%s called algb twice\n", __func__);
+
+	for (k = j = 0; j < n + 1; j++) {
+		if (scratch->L1[j] + scratch->L2[n - j] > lcs.tot) {
+			k = j;
+			lcs.topl = scratch->L1[j];
+			lcs.botr = scratch->L2[n - j];
+			lcs.tot = lcs.topl + lcs.botr;
+		}
+	}
+	dbg_printf("%s chose k %u (%zu - %u = %zu) lcs %zu\n", __func__,
+	    k, n, k, n - k, lcs.tot);
+
+	assert(k != 0 || lcs.topl == 0);
+
+	if (expected_lcs != no_expected_lcs && lcs.tot != expected_lcs) {
+		struct {
+			char l[12], c, r[12];
+		} actx = {.l = "12345.12345", .r = "12345.12345"},
+		  bctx = {.l = "12345.12345", .r = "12345.12345"};
+
+		dbg_printf("%s expected lcs %zu, got %zu + %zu = %zu at "
+		       "[%d | %d + %d | %d + %d, %d | %d + %d | %d + %d]\n",
+		    __func__, expected_lcs, lcs.topl, lcs.botr, lcs.tot,
+		    origin.i, origin.i, i - 1, origin.i, m - 1,
+		    origin.j, origin.j, k, origin.j, n - 1);
+
+		extract(A, i - MIN(i, 6), i - MIN(i, 2), actx.l);
+		actx.c = get(A, i - 1);
+		extract(A, i, MIN(i + 4, m - 1), actx.r);
+
+		dbg_printf("%s A context %s [ %c ] %s",
+		    __func__, actx.l, actx.c, actx.r);
+
+		if (k > 0) {
+			extract(B, k - MIN(k, 6), k - MIN(k, 2), bctx.l);
+			bctx.c = get(B, k - 1);
+			extract(B, MIN(k, n - 1), MIN(k + 4, n - 1), bctx.r);
+
+			dbg_printf(", B context %s [ %c ] %s\n",
+			    bctx.l, bctx.c, bctx.r);
+		} else
+			dbg_printf("\n");
+
+		dbg_printf("bailing\n");
+		algb(A, B, scratch, scratch->L1, true);
+		const slice_t *Am1 = subslice(A, m - 1, 0);
+		algb(Am1, Bn1, scratch, scratch->L2, true);
+    
+		dbg_printf("algb(A, B) -> %zu fwd, -> %zu bwd\n",
+		    scratch->L1[n], scratch->L2[n]);
+		abort();
+	}
+
+	size_t lcs1, lcs2;
+
+	if (k >= 1) {
+		B1k = subslice(B, 0, k - 1);
+		c1 = algc(A1i, B1k, scratch, origin, lcs.topl, &lcs1);
+		slice_free(B1k);
+	} else {
+		lcs1 = 0;
+		c1 = empty();
+	}
+
+	if (k < n) {
+		Aip1m = subslice(A, i, m - 1);
+		Bkp1n = subslice(B, k, n - 1);
+		c2 = algc(Aip1m, Bkp1n, scratch,
+		    (origin_t){origin.i + i, origin.j + k}, lcs.botr, &lcs2);
+		slice_free(Bkp1n);
+		slice_free(Aip1m);
+	} else {
+		lcs2 = 0;
+		c2 = empty();
+	}
+
+	slice_free(A1i);
+	slice_free(Amip1);
+	slice_free(Bn1);
+	c = joinchains(c1, c2);
+	return algc_return(m, n, origin, lcsp, lcs1 + lcs2, c);
+}
+
+static void
+usage(void)
+{
+	fprintf(stderr, "usage: %s string-a string-b\n", getprogname());
+	exit(EXIT_FAILURE);
+}
+
+static void
+scratch_init(scratch_t *scratch, size_t n, slice_t *Abasis, slice_t *Bbasis)
+{ 
+	scratch->L1 = malloc(sizeof(scratch->L1[0]) * (n + 1));
+	scratch->L2 = malloc(sizeof(scratch->L2[0]) * (n + 1));
+	scratch->K[0] = malloc(sizeof(scratch->K[0][0]) * (n + 1));
+	scratch->K[1] = malloc(sizeof(scratch->K[1][0]) * (n + 1));
+	scratch->Kclocc = malloc(sizeof(scratch->Kclocc[0]) * (n + 1));
+	scratch->Abasis = Abasis;
+	scratch->Bbasis = Bbasis;
+	scratch->expected_lcs = SIZE_T_MAX;
+}
+
+static int
+slicestr(slice_t *s, const char *t)
+{
+	unsigned int i;
+	const char *p;
+
+	p = t;
+
+	for (i = 0; i < length(s); i++) {
+		if (get(s, i) != *p) {
+			p = t;
+			continue;
+		}
+		if (*++p == '\0')
+			return i - (p - t - 1);
+	}
+	return -1;
+}
+
+static void
+cloccs_init(cloccs_t *o, slice_t *s)
+{
+	size_t column, i, n;
+	unsigned int j, k;
+	char digits[64 / 3 + 1];
+
+	o->noccs = 0;
+	for (i = 0; i < __arraycount(names); i++) {
+		int loc;
+
+		loc = slicestr(s, names[i]);
+		if (loc == -1)
+			continue;
+
+		o->occs[o->noccs].first = loc;
+		o->occs[o->noccs].last = loc + strlen(names[i]) - 1;
+		o->occs[o->noccs].kind = KIND_STRING;
+		dbg_printf("found %s at %d - %d\n",
+		    names[i], o->occs[o->noccs].first, o->occs[o->noccs].last);
+		o->noccs++;
+	}
+
+	j = 0;
+	column = 0;
+	n = length(s);
+	while (o->noccs < (int)__arraycount(o->occs)) {
+		intmax_t val;
+		char *end;
+		char c;
+
+		++column;
+
+		if (j == n)
+			break;
+
+		c = get(s, j);
+		for (k = j + 1; k < n; k++) {
+			if (strchr("0123456789", get(s, k)) == NULL)
+				break;
+		}
+		if (c == '-') {
+			if (j == k - 1) {
+				j++;
+				continue;
+			}
+		} else if (strchr("0123456789", c) == NULL) {
+			if (c == '\n')
+				column = 0;
+			j++;
+			continue;
+		}
+
+		if (k - j > __arraycount(digits) - 1)
+			goto next;
+
+		extract(s, j, k - 1, digits);
+
+		val = strtoimax(digits, &end, 10);
+		if (*end == '\0') {
+			o->occs[o->noccs].column = column;
+			o->occs[o->noccs].first = j;
+			o->occs[o->noccs].last = k - 1;
+			o->occs[o->noccs].kind = KIND_INTMAX;
+			o->occs[o->noccs].val_u.u_intmax = val;
+			dbg_printf("found %jd at %d - %d\n",
+			    val, o->occs[o->noccs].first,
+			    o->occs[o->noccs].last);
+			o->noccs++;
+		} else if (errno == ERANGE)
+			warnx("%s: over/underflow at %d", __func__, j);
+next:
+		column += k - 1 - j;
+		j = k;
+	}
+}
+
+static void
+printchain(chain_t *c)
+{
+	chainelt_t *ce;
+	int column = 1;
+
+	TAILQ_FOREACH(ce, &c->c_head, ce_link) {
+		char *found, *s;
+		int nextcolumn;
+
+		for (nextcolumn = column, s = ce->ce_content;
+		     *s != '\0' && (found = strchr(s, '\n')) != NULL;
+		     s = found + 1)
+			nextcolumn = 1;
+
+		nextcolumn += strlen(s);
+		while (ce->ce_column < 0 && column < -ce->ce_column) {
+			fputc(' ', stdout);
+			column++;
+		}
+		while (ce->ce_column > 0 && nextcolumn - 1 < ce->ce_column) {
+			fputc(' ', stdout);
+			nextcolumn++;
+		}
+		printf("%s", ce->ce_content);
+		column = nextcolumn;
+	}
+}
+
+int
+main(int argc, char **argv)
+{
+	slice_t *A, *B;
+	size_t n;
+	chain_t *C;
+	scratch_t scratch;
+
+	setprogname(argv[0]);
+
+	if (argc < 3)
+		usage();
+
+	A = file_to_slice(argv[1]);
+	B = file_to_slice(argv[2]);
+	n = length(B);
+	scratch_init(&scratch, n, A, B);
+	if (strcmp(getprogname(), "dt") == 0)
+		scratch.op = '-';
+	else if (strcmp(getprogname(), "it") == 0)
+		scratch.op = '+';
+	else
+		errx(EXIT_FAILURE, "not implemented");
+
+	cloccs_init(&scratch.Aoccs, A);
+	cloccs_init(&scratch.Boccs, B);
+	size_t lcs;
+	C = algc(A, B, &scratch, (origin_t){0, 0}, no_expected_lcs, &lcs);
+
+	dbg_printf("lcs = %zu\n", lcs);
+	printchain(C);
+	dbg_printf("\n");
+
+	dbg_printf("\n%d times through main loop\n", mainloop);
+
+	return EXIT_SUCCESS;
+}
Index: othersrc/external/bsd/arfe/dt/testit
diff -u /dev/null othersrc/external/bsd/arfe/dt/testit:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/testit	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+results=rr
+
+[ -d $results ] || mkdir $results
+
+while read l r ; do
+	o=${results}/${l}-${r}
+	if [ -e $o ]; then
+		echo diffing $l $r 1>&2
+		./dt t/$l t/$r | diff $o -
+	else
+		echo generating $l $r 1>&2
+		./dt t/$l t/$r > $o
+	fi
+done <<EOF
+netstat-s.0 netstat-s.1
+netstat-s.1 netstat-s.0
+abecedarian abracadabra
+abracadabra abecedarian
+daily-output-2 daily-output-5
+daily-output-5 daily-output-2
+daily-output-5 daily-output-6
+daily-output-6 daily-output-5
+daily-output-6 daily-output-7
+daily-output-7 daily-output-6
+ifconfig.0 ifconfig.1
+ifconfig.1 ifconfig.0
+logger-ifconfig.0 ifconfig.0
+ifconfig.0 logger-ifconfig.0
+quack123quack quack456quack
+quack456quack quack123quack 
+quackabequack quackdariaquack
+quackdariaquack quackabequack 
+wm0-a wm0-b
+wm0-b wm0-a
+EOF

Index: othersrc/external/bsd/arfe/dt/rr/abecedarian-abracadabra
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/abecedarian-abracadabra:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/abecedarian-abracadabra	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+abc<word>
Index: othersrc/external/bsd/arfe/dt/rr/abracadabra-abecedarian
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/abracadabra-abecedarian:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/abracadabra-abecedarian	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+abc<word>
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-2-daily-output-5
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-2-daily-output-5:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-2-daily-output-5	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up 3 day, 0:0,  -10 users, load averages: 0.13, 0. 4, 0. 1
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G        -4M   0%       15      -15   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            128534      0        68076      0      0
+re0                 0      0         4254      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-2
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-2:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-2	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up -3 day, 0:0,  10 users, load averages: 0.-13, 0.-4, 0.-1
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G         4M   0%      -15       15   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            -128534      0       -68076      0      0
+re0                 0      0         -4254      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-6
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-6:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-5-daily-output-6	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up 1 days,  0: 0, 0 users, load averages: 0.-11, 0.-2, 0.-1
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G         0M   0%        4       -4   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0             68091      0        20637      0      0
+re0                 0      0         1390      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-5
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-5:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-5	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up -1 days, 0: 0, 0 users, load averages: 0.11, 0. 2, 0. 1
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G         0M   0%       -4        4   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            -68091      0       -20637      0      0
+re0                 0      0         -1390      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-7
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-7:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-6-daily-output-7	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up 1 days,  0: 0, 0 users, load averages: 0.-2, 0.-2, 0. 0
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G        -1M   0%       -1        1   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0             56424      0        16838      0      0
+re0                 0      0         1428      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/daily-output-7-daily-output-6
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/daily-output-7-daily-output-6:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/daily-output-7-daily-output-6	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  0: 0AM  up -1 days, 0: 0, 0 users, load averages: 0. 2, 0. 2, 0. 0
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a            0G         0G         1M   0%        1       -1   0% /
+/dev/wd0f            0G         0G         0G   0%        0        0   0% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            -56424      0       -16838      0      0
+re0                 0      0         -1428      0      0
+lo0                 0      0            0      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(0).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/rr/ifconfig.0-ifconfig.1
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/ifconfig.0-ifconfig.1:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/ifconfig.0-ifconfig.1	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=   0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu    0
+	capabilities=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	enabled=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	address:  0:0a:0b:cd: 0:ef
+	media: Ethernet autoselect (   0baseT full-duplex)
+	status: active
+	input:      61 packets,       5432 bytes,       3 multicasts
+	output:      30 packets,       3436 bytes,    0 multicasts
+	inet  0.0.0. 0 netmask 0xffffff 0 broadcast  0.0.0.  0
+	inet0 fe 0:: 0a:bff:fecd:0ef%wm0 prefixlen  0 scopeid 0x0
Index: othersrc/external/bsd/arfe/dt/rr/ifconfig.0-logger-ifconfig.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/ifconfig.0-logger-ifconfig.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/ifconfig.0-logger-ifconfig.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 0
+capabilities=0bf0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+enabled=0bf0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+address: 0:0a:0b:cd:0:ef
+media: Ethernet autoselect (0baseT full-duplex)
+status: active
+input: 0 packets, 0 bytes, 0 multicasts
+output: 0 packets, 0 bytes, 0 multicasts
+inet 0.0.0.0 netmask 0xffffff0 broadcast 0.0.0.0
+inet0 fe0::0a:bff:fecd:0ef%wm0 prefixlen 0 scopeid 0x0
Index: othersrc/external/bsd/arfe/dt/rr/ifconfig.1-ifconfig.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/ifconfig.1-ifconfig.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/ifconfig.1-ifconfig.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=   0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu    0
+	capabilities=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	enabled=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	address:  0:0a:0b:cd: 0:ef
+	media: Ethernet autoselect (   0baseT full-duplex)
+	status: active
+	input:     -61 packets,      -5432 bytes,      -3 multicasts
+	output:     -30 packets,      -3436 bytes,    0 multicasts
+	inet  0.0.0. 0 netmask 0xffffff 0 broadcast  0.0.0.  0
+	inet0 fe 0:: 0a:bff:fecd:0ef%wm0 prefixlen  0 scopeid 0x0
Index: othersrc/external/bsd/arfe/dt/rr/logger-ifconfig.0-ifconfig.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/logger-ifconfig.0-ifconfig.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/logger-ifconfig.0-ifconfig.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 0
+capabilities=0bf0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+enabled=0bf0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+address: 0:0a:0b:cd:0:ef
+media: Ethernet autoselect (0baseT full-duplex)
+status: active
+input: 0 packets, 0 bytes, 0 multicasts
+output: 0 packets, 0 bytes, 0 multicasts
+inet 0.0.0.0 netmask 0xffffff0 broadcast 0.0.0.0
+inet0 fe0::0a:bff:fecd:0ef%wm0 prefixlen 0 scopeid 0x0
Index: othersrc/external/bsd/arfe/dt/rr/netstat-s.0-netstat-s.1
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/netstat-s.0-netstat-s.1:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/netstat-s.0-netstat-s.1	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,524 @@
+icmp:
+	0 calls to icmp_error
+	0 errors not generated because old message was icmp
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	0 multicast echo requests ignored
+	0 multicast timestamp requests ignored
+	0 message responses generated
+	0 path MTU changes
+igmp:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 membership queries received
+	0 membership queries received with invalid field(s)
+	0 membership reports received
+	0 membership reports received with invalid field(s)
+	0 membership reports received for groups to which we belong
+	0 membership reports sent
+tcp:
+	    52 packets sent
+		    48 data packets (    6672 bytes)
+		  0 data packets (    0 bytes) retransmitted
+		    4 ack-only packets (   43 delayed)
+		0 URG only packets
+		0 window probe packets
+		   0 window update packets
+		  0 control packets
+		0 send attempts resulted in self-quench
+	    89 packets received
+		    46 acks (for     6544 bytes)
+		  0 duplicate acks
+		0 acks for unsent data
+		   43 packets (    2064 bytes) received in-sequence
+		   0 completely duplicate packets (      0 bytes)
+		0 old duplicate packets
+		  0 packets with some dup. data (     0 bytes duped)
+		  0 out-of-order packets (    0 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		  0 window update packets
+		0 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	  0 connection requests
+	  0 connection accepts
+	  0 connections established (including accepts)
+	  0 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	    46 segments updated rtt (of    41 attempts)
+	 0 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	 0 keepalive timeouts
+		 0 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	   43 correct data packet header predictions
+	  0 PCB hash misses
+	0 dropped due to no socket
+	0 connections drained due to memory shortage
+	0 PMTUD blackholes detected
+	0 bad connection attempts
+	  0 SYN cache entries added
+		0 hash collisions
+		  0 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		  0 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp:
+	    0 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 dropped due to no socket
+	    0 broadcast/multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	   0 delivered
+	    0 PCB hash misses
+	   0 datagrams output
+ip:
+	    0 total packets received
+	0 bad header checksums
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with length > max ip packet size
+	0 with header length < data size
+	0 with data length < header length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped (out of ipqent)
+	0 malformed fragments dropped
+	0 fragments dropped after timeout
+	0 packets reassembled ok
+	    0 packets for this host
+	0 packets for unknown/unsupported protocol
+	0 packets forwarded (0 packets fast forwarded)
+	0 packets not forwardable
+	0 redirects sent
+	0 packets no matching gif found
+	   0 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 datagrams with bad address in header
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	    89 SPD cache lookups
+	    89 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+ip0:
+	    91 total packets received
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped after timeout
+	0 fragments that exceeded limit
+	0 packets reassembled ok
+	    89 packets for this host
+	0 packets forwarded
+	0 packets fast forwarded
+	0 fast forward flows
+	  0 packets not forwardable
+	0 redirects sent
+	    54 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 packets that violated scope rules
+	  0 multicast packets which we don't join
+	Input packet histogram:
+		hop by hop: 0
+		TCP:     89
+		UDP:    0
+		ICMP0:     2
+	Mbuf statistics:
+		  0 one mbufs
+		two or more mbuf:
+			lo0 =  0
+		    91 one ext mbufs
+		0 two or more ext mbufs
+	0 packets whose headers are not continuous
+	0 tunneling packets that can't find gif
+	0 packets discarded due to too many headers
+	0 failures of source address selection
+	    91 forward cache hit
+	   0 forward cache miss
+icmp0:
+	0 calls to icmp0_error
+	0 errors not generated because old message was icmp0 or so
+	0 errors not generated because of rate limitation
+	Output packet histogram:
+		multicast listener report:  0
+		router solicitation: 0
+		neighbor solicitation:    1
+		neighbor advertisement:    1
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	Input packet histogram:
+		packet too big:  0
+		router advertisement:    0
+		neighbor solicitation:    1
+		neighbor advertisement:    1
+	Histogram of error messages to be generated:
+		0 no route
+		0 administratively prohibited
+		0 beyond scope
+		0 address unreachable
+		0 port unreachable
+		0 packet too big
+		0 time exceed transit
+		0 time exceed reassembly
+		0 erroneous header field
+		0 unrecognized next header
+		0 unrecognized option
+		0 redirect
+		0 unknown
+	0 message responses generated
+	0 messages with too many ND options
+	0 messages with bad ND options
+	0 bad neighbor solicitation messages
+	0 bad neighbor advertisement messages
+	0 bad router solicitation messages
+	0 bad router advertisement messages
+	0 router advertisement routes dropped
+	0 bad redirect messages
+	 0 path MTU changes
+tcp0:
+	    52 packets sent
+		    48 data packets (    6672 bytes)
+		  0 data packets (    0 bytes) retransmitted
+		    4 ack-only packets (   43 delayed)
+		0 URG only packets
+		0 window probe packets
+		   0 window update packets
+		  0 control packets
+		0 send attempts resulted in self-quench
+	    89 packets received
+		    46 acks (for     6544 bytes)
+		  0 duplicate acks
+		0 acks for unsent data
+		   43 packets (    2064 bytes) received in-sequence
+		   0 completely duplicate packets (      0 bytes)
+		0 old duplicate packets
+		  0 packets with some dup. data (     0 bytes duped)
+		  0 out-of-order packets (    0 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		  0 window update packets
+		0 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	  0 connection requests
+	  0 connection accepts
+	  0 connections established (including accepts)
+	  0 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	    46 segments updated rtt (of    41 attempts)
+	 0 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	 0 keepalive timeouts
+		 0 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	   43 correct data packet header predictions
+	  0 PCB hash misses
+	0 dropped due to no socket
+	0 connections drained due to memory shortage
+	0 PMTUD blackholes detected
+	0 bad connection attempts
+	  0 SYN cache entries added
+		0 hash collisions
+		  0 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		  0 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp0:
+	   0 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 with no checksum
+	0 dropped due to no socket
+	0 multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	   0 delivered
+	   0 datagrams output
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	    89 SPD cache lookups
+	    89 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+pim0:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 messages received with bad version
+	0 registers received
+	0 bad registers received
+	0 registers sent
+rip0:
+	0 messages received
+	0 checksum calculations on inbound
+	0 messages with bad checksum
+	0 messages dropped due to no socket
+	0 multicast messages dropped due to no socket
+	0 messages dropped due to full socket buffers
+	0 delivered
+	0 datagrams output
+arp:
+	  0 packets sent
+		  0 reply packets
+		 0 request packets
+	    0 packets received
+		 0 reply packets
+		    0 valid request packets
+		    0 broadcast/multicast packets
+		0 packets with unknown protocol type
+		0 packets with bad (short) length
+		0 packets with null target IP address
+		 0 packets with null source IP address
+		0 could not be mapped to an interface
+		0 packets sourced from a local hardware address
+		0 packets with a broadcast source hardware address
+		0 duplicates for a local IP address
+		0 attempts to overwrite a static entry
+		0 packets received on wrong interface
+		0 entrys overwritten
+		0 changes in hardware address length
+	 0 packets deferred pending ARP resolution
+		 0 sent
+		0 dropped
+	0 failures to allocate llinfo
+pfkey:
+	0 requests sent from userland
+	0 bytes sent from userland
+	0 messages with invalid length field
+	0 messages with invalid version field
+	0 messages with invalid message type field
+	0 messages too short
+	0 messages with memory allocation failure
+	0 messages with duplicate extension
+	0 messages with invalid extension type
+	0 messages with invalid sa type
+	0 messages with invalid address extension
+	0 requests sent to userland
+	0 bytes sent to userland
+	0 messages toward single socket
+	0 messages toward all sockets
+	0 messages toward registered sockets
+	0 messages with memory allocation failure
+ddp:
+	0 packets with short headers 
+	0 packets with long headers 
+	0 packets with no checksum 
+	0 packets too short 
+	0 packets with bad checksum 
+	0 packets with not enough data 
+	0 packets forwarded 
+	0 packets encapsulated 
+	0 packets rcvd for unreachable dest 
+	0 packets dropped due to no socket space 
+TP not configured
+
Index: othersrc/external/bsd/arfe/dt/rr/netstat-s.1-netstat-s.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/netstat-s.1-netstat-s.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/netstat-s.1-netstat-s.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,524 @@
+icmp:
+	0 calls to icmp_error
+	0 errors not generated because old message was icmp
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	0 multicast echo requests ignored
+	0 multicast timestamp requests ignored
+	0 message responses generated
+	0 path MTU changes
+igmp:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 membership queries received
+	0 membership queries received with invalid field(s)
+	0 membership reports received
+	0 membership reports received with invalid field(s)
+	0 membership reports received for groups to which we belong
+	0 membership reports sent
+tcp:
+	   -52 packets sent
+		   -48 data packets (   -6672 bytes)
+		  0 data packets (    0 bytes) retransmitted
+		   -4 ack-only packets (  -43 delayed)
+		0 URG only packets
+		0 window probe packets
+		   0 window update packets
+		  0 control packets
+		0 send attempts resulted in self-quench
+	   -89 packets received
+		   -46 acks (for    -6544 bytes)
+		  0 duplicate acks
+		0 acks for unsent data
+		  -43 packets (   -2064 bytes) received in-sequence
+		   0 completely duplicate packets (      0 bytes)
+		0 old duplicate packets
+		  0 packets with some dup. data (     0 bytes duped)
+		  0 out-of-order packets (    0 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		  0 window update packets
+		0 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	  0 connection requests
+	  0 connection accepts
+	  0 connections established (including accepts)
+	  0 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	   -46 segments updated rtt (of   -41 attempts)
+	 0 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	 0 keepalive timeouts
+		 0 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	  -43 correct data packet header predictions
+	  0 PCB hash misses
+	0 dropped due to no socket
+	0 connections drained due to memory shortage
+	0 PMTUD blackholes detected
+	0 bad connection attempts
+	  0 SYN cache entries added
+		0 hash collisions
+		  0 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		  0 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp:
+	    0 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 dropped due to no socket
+	    0 broadcast/multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	   0 delivered
+	    0 PCB hash misses
+	   0 datagrams output
+ip:
+	    0 total packets received
+	0 bad header checksums
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with length > max ip packet size
+	0 with header length < data size
+	0 with data length < header length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped (out of ipqent)
+	0 malformed fragments dropped
+	0 fragments dropped after timeout
+	0 packets reassembled ok
+	    0 packets for this host
+	0 packets for unknown/unsupported protocol
+	0 packets forwarded (0 packets fast forwarded)
+	0 packets not forwardable
+	0 redirects sent
+	0 packets no matching gif found
+	   0 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 datagrams with bad address in header
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	   -89 SPD cache lookups
+	   -89 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+ip0:
+	   -91 total packets received
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped after timeout
+	0 fragments that exceeded limit
+	0 packets reassembled ok
+	   -89 packets for this host
+	0 packets forwarded
+	0 packets fast forwarded
+	0 fast forward flows
+	  0 packets not forwardable
+	0 redirects sent
+	   -54 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 packets that violated scope rules
+	  0 multicast packets which we don't join
+	Input packet histogram:
+		hop by hop: 0
+		TCP:    -89
+		UDP:    0
+		ICMP0:    -2
+	Mbuf statistics:
+		  0 one mbufs
+		two or more mbuf:
+			lo0 =  0
+		   -91 one ext mbufs
+		0 two or more ext mbufs
+	0 packets whose headers are not continuous
+	0 tunneling packets that can't find gif
+	0 packets discarded due to too many headers
+	0 failures of source address selection
+	   -91 forward cache hit
+	   0 forward cache miss
+icmp0:
+	0 calls to icmp0_error
+	0 errors not generated because old message was icmp0 or so
+	0 errors not generated because of rate limitation
+	Output packet histogram:
+		multicast listener report:  0
+		router solicitation: 0
+		neighbor solicitation:   -1
+		neighbor advertisement:   -1
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	Input packet histogram:
+		packet too big:  0
+		router advertisement:    0
+		neighbor solicitation:   -1
+		neighbor advertisement:   -1
+	Histogram of error messages to be generated:
+		0 no route
+		0 administratively prohibited
+		0 beyond scope
+		0 address unreachable
+		0 port unreachable
+		0 packet too big
+		0 time exceed transit
+		0 time exceed reassembly
+		0 erroneous header field
+		0 unrecognized next header
+		0 unrecognized option
+		0 redirect
+		0 unknown
+	0 message responses generated
+	0 messages with too many ND options
+	0 messages with bad ND options
+	0 bad neighbor solicitation messages
+	0 bad neighbor advertisement messages
+	0 bad router solicitation messages
+	0 bad router advertisement messages
+	0 router advertisement routes dropped
+	0 bad redirect messages
+	 0 path MTU changes
+tcp0:
+	   -52 packets sent
+		   -48 data packets (   -6672 bytes)
+		  0 data packets (    0 bytes) retransmitted
+		   -4 ack-only packets (  -43 delayed)
+		0 URG only packets
+		0 window probe packets
+		   0 window update packets
+		  0 control packets
+		0 send attempts resulted in self-quench
+	   -89 packets received
+		   -46 acks (for    -6544 bytes)
+		  0 duplicate acks
+		0 acks for unsent data
+		  -43 packets (   -2064 bytes) received in-sequence
+		   0 completely duplicate packets (      0 bytes)
+		0 old duplicate packets
+		  0 packets with some dup. data (     0 bytes duped)
+		  0 out-of-order packets (    0 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		  0 window update packets
+		0 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	  0 connection requests
+	  0 connection accepts
+	  0 connections established (including accepts)
+	  0 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	   -46 segments updated rtt (of   -41 attempts)
+	 0 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	 0 keepalive timeouts
+		 0 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	  -43 correct data packet header predictions
+	  0 PCB hash misses
+	0 dropped due to no socket
+	0 connections drained due to memory shortage
+	0 PMTUD blackholes detected
+	0 bad connection attempts
+	  0 SYN cache entries added
+		0 hash collisions
+		  0 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		  0 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp0:
+	   0 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 with no checksum
+	0 dropped due to no socket
+	0 multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	   0 delivered
+	   0 datagrams output
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	   -89 SPD cache lookups
+	   -89 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+pim0:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 messages received with bad version
+	0 registers received
+	0 bad registers received
+	0 registers sent
+rip0:
+	0 messages received
+	0 checksum calculations on inbound
+	0 messages with bad checksum
+	0 messages dropped due to no socket
+	0 multicast messages dropped due to no socket
+	0 messages dropped due to full socket buffers
+	0 delivered
+	0 datagrams output
+arp:
+	  0 packets sent
+		  0 reply packets
+		 0 request packets
+	    0 packets received
+		 0 reply packets
+		    0 valid request packets
+		    0 broadcast/multicast packets
+		0 packets with unknown protocol type
+		0 packets with bad (short) length
+		0 packets with null target IP address
+		 0 packets with null source IP address
+		0 could not be mapped to an interface
+		0 packets sourced from a local hardware address
+		0 packets with a broadcast source hardware address
+		0 duplicates for a local IP address
+		0 attempts to overwrite a static entry
+		0 packets received on wrong interface
+		0 entrys overwritten
+		0 changes in hardware address length
+	 0 packets deferred pending ARP resolution
+		 0 sent
+		0 dropped
+	0 failures to allocate llinfo
+pfkey:
+	0 requests sent from userland
+	0 bytes sent from userland
+	0 messages with invalid length field
+	0 messages with invalid version field
+	0 messages with invalid message type field
+	0 messages too short
+	0 messages with memory allocation failure
+	0 messages with duplicate extension
+	0 messages with invalid extension type
+	0 messages with invalid sa type
+	0 messages with invalid address extension
+	0 requests sent to userland
+	0 bytes sent to userland
+	0 messages toward single socket
+	0 messages toward all sockets
+	0 messages toward registered sockets
+	0 messages with memory allocation failure
+ddp:
+	0 packets with short headers 
+	0 packets with long headers 
+	0 packets with no checksum 
+	0 packets too short 
+	0 packets with bad checksum 
+	0 packets with not enough data 
+	0 packets forwarded 
+	0 packets encapsulated 
+	0 packets rcvd for unreachable dest 
+	0 packets dropped due to no socket space 
+TP not configured
+
Index: othersrc/external/bsd/arfe/dt/rr/quack123quack-quack456quack
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/quack123quack-quack456quack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/quack123quack-quack456quack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack333quack
Index: othersrc/external/bsd/arfe/dt/rr/quack456quack-quack123quack
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/quack456quack-quack123quack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/quack456quack-quack123quack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack-333quack
Index: othersrc/external/bsd/arfe/dt/rr/quackabequack-quackdariaquack
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/quackabequack-quackdariaquack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/quackabequack-quackdariaquack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack<word>quack
Index: othersrc/external/bsd/arfe/dt/rr/quackdariaquack-quackabequack
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/quackdariaquack-quackabequack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/quackdariaquack-quackabequack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack<word>quack
Index: othersrc/external/bsd/arfe/dt/rr/wm0-a-wm0-b
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/wm0-a-wm0-b:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/wm0-a-wm0-b	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,12 @@
+wm0: flags=   0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu    0
+	capabilities=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	enabled=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	address:  0:0a:0b:cd: 0:ef
+	media: Ethernet autoselect (   0baseT full-duplex)
+	status: active
+	input:     112 packets,      11380 bytes,      11 multicasts
+	output:      60 packets,      11440 bytes,    0 multicasts
+	inet  0.0.0. 0 netmask 0xffffff 0 broadcast  0.0.0.  0
+	inet0 fe 0:: 0a:bff:fecd:0ef%wm0 prefixlen  0 scopeid 0x0
+
+
Index: othersrc/external/bsd/arfe/dt/rr/wm0-b-wm0-a
diff -u /dev/null othersrc/external/bsd/arfe/dt/rr/wm0-b-wm0-a:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/rr/wm0-b-wm0-a	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,12 @@
+wm0: flags=   0<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu    0
+	capabilities=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	enabled=0bf 0<TSO0,IP0CSUM_Rx,IP0CSUM_Tx,TCP0CSUM_Rx,TCP0CSUM_Tx,UDP0CSUM_Rx,UDP0CSUM_Tx,TCP0CSUM_Tx,UDP0CSUM_Tx>
+	address:  0:0a:0b:cd: 0:ef
+	media: Ethernet autoselect (   0baseT full-duplex)
+	status: active
+	input:    -112 packets,     -11380 bytes,     -11 multicasts
+	output:     -60 packets,     -11440 bytes,    0 multicasts
+	inet  0.0.0. 0 netmask 0xffffff 0 broadcast  0.0.0.  0
+	inet0 fe 0:: 0a:bff:fecd:0ef%wm0 prefixlen  0 scopeid 0x0
+
+

Index: othersrc/external/bsd/arfe/dt/t/abecedarian
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/abecedarian:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/abecedarian	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+abecedarian
Index: othersrc/external/bsd/arfe/dt/t/abracadabra
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/abracadabra:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/abracadabra	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+abracadabra
Index: othersrc/external/bsd/arfe/dt/t/daily-output-2
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/daily-output-2:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/daily-output-2	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  3:15AM  up 1 day, 18:03, 10 users, load averages: 0.00, 0.00, 0.00
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a           36G        34G       374M  98%  2430580  2249354  51% /
+/dev/wd1f           34G        10G        22G  32%   330304  4071614   7% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            143570      0        86248      0      0
+re0                 0      0         2561      0      0
+lo0                14      0           14      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(5).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/t/daily-output-5
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/daily-output-5:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/daily-output-5	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,26 @@
+
+
+Uptime:  3:15AM  up 4 days, 18:03, 0 users, load averages: 0.13, 0.04, 0.01
+find: /home/dyoung/mbp: Broken pipe
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a           36G        34G       370M  98%  2430595  2249339  51% /
+/dev/wd1f           34G        10G        22G  32%   330304  4071614   7% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            272104      0       154324      0      0
+re0                 0      0         6815      0      0
+lo0                14      0           14      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(5).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/t/daily-output-6
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/daily-output-6:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/daily-output-6	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  3:15AM  up 5 days, 18:03, 0 users, load averages: 0.02, 0.02, 0.00
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a           36G        34G       370M  98%  2430599  2249335  51% /
+/dev/wd1f           34G        10G        22G  32%   330304  4071614   7% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            340195      0       174961      0      0
+re0                 0      0         8205      0      0
+lo0                14      0           14      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(5).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/t/daily-output-7
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/daily-output-7:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/daily-output-7	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,25 @@
+
+
+Uptime:  3:15AM  up 6 days, 18:03, 0 users, load averages: 0.00, 0.00, 0.00
+
+Checking subsystem status:
+
+disks:
+Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mount
+/dev/wd0a           36G        34G       369M  98%  2430598  2249336  51% /
+/dev/wd1f           34G        10G        22G  32%   330304  4071614   7% /home/dyoung/pkgobj
+
+
+
+network:
+Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
+wm0            396619      0       191799      0      0
+re0                 0      0         9633      0      0
+lo0                14      0           14      0      0
+
+
+
+Fetching package vulnerabilities database:
+fetch_pkg_vulnerabilities is set to NO in daily.conf(5).
+You should set it to YES to enable vulnerability checks.
+
Index: othersrc/external/bsd/arfe/dt/t/ifconfig.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/ifconfig.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/ifconfig.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+	capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	address: 00:0a:0b:cd:01:ef
+	media: Ethernet autoselect (1000baseT full-duplex)
+	status: active
+	input: 8537299 packets, 2504493120 bytes, 2466366 multicasts
+	output: 5505447 packets, 1113863170 bytes, 2514 multicasts
+	inet 10.0.1.17 netmask 0xffffff00 broadcast 10.0.1.255
+	inet6 fe80::20a:bff:fecd:1ef%wm0 prefixlen 64 scopeid 0x1
Index: othersrc/external/bsd/arfe/dt/t/ifconfig.1
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/ifconfig.1:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/ifconfig.1	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+	capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	address: 00:0a:0b:cd:01:ef
+	media: Ethernet autoselect (1000baseT full-duplex)
+	status: active
+	input: 8537360 packets, 2504498552 bytes, 2466369 multicasts
+	output: 5505477 packets, 1113866606 bytes, 2514 multicasts
+	inet 10.0.1.17 netmask 0xffffff00 broadcast 10.0.1.255
+	inet6 fe80::20a:bff:fecd:1ef%wm0 prefixlen 64 scopeid 0x1
Index: othersrc/external/bsd/arfe/dt/t/logger-ifconfig.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/logger-ifconfig.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/logger-ifconfig.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,10 @@
+Mar  4 16:12:23 elmendorf dyoung: wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 
+Mar  4 16:12:23 elmendorf dyoung:       capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx> 
+Mar  4 16:12:23 elmendorf dyoung:       enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx> 
+Mar  4 16:12:23 elmendorf dyoung:       address: 00:0a:0b:cd:01:ef
+Mar  4 16:12:23 elmendorf dyoung:       media: Ethernet autoselect (1000baseT full-duplex) 
+Mar  4 16:12:23 elmendorf dyoung:       status: active 
+Mar  4 16:12:23 elmendorf dyoung:       input: 8537299 packets, 2504493120 bytes, 2466366 multicasts 
+Mar  4 16:12:23 elmendorf dyoung:       output: 5505447 packets, 1113863170 bytes, 2514 multicasts 
+Mar  4 16:12:23 elmendorf dyoung:       inet 10.0.1.17 netmask 0xffffff00 broadcast 10.0.1.255 
+Mar  4 16:12:23 elmendorf dyoung:       inet6 fe80::20a:bff:fecd:1ef%wm0 prefixlen 64 scopeid 0x1
Index: othersrc/external/bsd/arfe/dt/t/netstat-s.0
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/netstat-s.0:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/netstat-s.0	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,524 @@
+icmp:
+	0 calls to icmp_error
+	0 errors not generated because old message was icmp
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	0 multicast echo requests ignored
+	0 multicast timestamp requests ignored
+	0 message responses generated
+	0 path MTU changes
+igmp:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 membership queries received
+	0 membership queries received with invalid field(s)
+	0 membership reports received
+	0 membership reports received with invalid field(s)
+	0 membership reports received for groups to which we belong
+	0 membership reports sent
+tcp:
+	140677 packets sent
+		124569 data packets (19676377 bytes)
+		105 data packets (92040 bytes) retransmitted
+		12596 ack-only packets (80994 delayed)
+		0 URG only packets
+		0 window probe packets
+		3007 window update packets
+		400 control packets
+		0 send attempts resulted in self-quench
+	208421 packets received
+		124379 acks (for 19675436 bytes)
+		362 duplicate acks
+		0 acks for unsent data
+		87632 packets (19463201 bytes) received in-sequence
+		1090 completely duplicate packets (1189696 bytes)
+		0 old duplicate packets
+		149 packets with some dup. data (156779 bytes duped)
+		132 out-of-order packets (20064 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		109 window update packets
+		2 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	164 connection requests
+	107 connection accepts
+	271 connections established (including accepts)
+	597 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	124543 segments updated rtt (of 82508 attempts)
+	31 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	63 keepalive timeouts
+		54 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	81281 correct data packet header predictions
+	234 PCB hash misses
+	9 dropped due to no socket
+	0 connections drained due to memory shortage
+	2 PMTUD blackholes detected
+	0 bad connection attempts
+	107 SYN cache entries added
+		0 hash collisions
+		107 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		107 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp:
+	13177 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 dropped due to no socket
+	10553 broadcast/multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	2624 delivered
+	13754 PCB hash misses
+	2619 datagrams output
+ip:
+	15014 total packets received
+	0 bad header checksums
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with length > max ip packet size
+	0 with header length < data size
+	0 with data length < header length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped (out of ipqent)
+	0 malformed fragments dropped
+	0 fragments dropped after timeout
+	0 packets reassembled ok
+	15007 packets for this host
+	0 packets for unknown/unsupported protocol
+	0 packets forwarded (0 packets fast forwarded)
+	7 packets not forwardable
+	0 redirects sent
+	0 packets no matching gif found
+	4106 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 datagrams with bad address in header
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	216021 SPD cache lookups
+	216021 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+ip6:
+	222766 total packets received
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped after timeout
+	0 fragments that exceeded limit
+	0 packets reassembled ok
+	208880 packets for this host
+	0 packets forwarded
+	0 packets fast forwarded
+	0 fast forward flows
+	457 packets not forwardable
+	0 redirects sent
+	153059 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 packets that violated scope rules
+	457 multicast packets which we don't join
+	Input packet histogram:
+		hop by hop: 2
+		TCP: 206591
+		UDP: 1270
+		ICMP6: 14903
+	Mbuf statistics:
+		404 one mbufs
+		two or more mbuf:
+			lo0 = 95
+		222267 one ext mbufs
+		0 two or more ext mbufs
+	0 packets whose headers are not continuous
+	0 tunneling packets that can't find gif
+	0 packets discarded due to too many headers
+	0 failures of source address selection
+	210988 forward cache hit
+	9410 forward cache miss
+icmp6:
+	0 calls to icmp6_error
+	0 errors not generated because old message was icmp6 or so
+	0 errors not generated because of rate limitation
+	Output packet histogram:
+		multicast listener report: 16
+		router solicitation: 4
+		neighbor solicitation: 6396
+		neighbor advertisement: 6359
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	Input packet histogram:
+		packet too big: 21
+		router advertisement: 1241
+		neighbor solicitation: 6359
+		neighbor advertisement: 7049
+	Histogram of error messages to be generated:
+		0 no route
+		0 administratively prohibited
+		0 beyond scope
+		0 address unreachable
+		0 port unreachable
+		0 packet too big
+		0 time exceed transit
+		0 time exceed reassembly
+		0 erroneous header field
+		0 unrecognized next header
+		0 unrecognized option
+		0 redirect
+		0 unknown
+	0 message responses generated
+	0 messages with too many ND options
+	0 messages with bad ND options
+	0 bad neighbor solicitation messages
+	0 bad neighbor advertisement messages
+	0 bad router solicitation messages
+	0 bad router advertisement messages
+	0 router advertisement routes dropped
+	0 bad redirect messages
+	13 path MTU changes
+tcp6:
+	140677 packets sent
+		124569 data packets (19676377 bytes)
+		105 data packets (92040 bytes) retransmitted
+		12596 ack-only packets (80994 delayed)
+		0 URG only packets
+		0 window probe packets
+		3007 window update packets
+		400 control packets
+		0 send attempts resulted in self-quench
+	208421 packets received
+		124379 acks (for 19675436 bytes)
+		362 duplicate acks
+		0 acks for unsent data
+		87632 packets (19463201 bytes) received in-sequence
+		1090 completely duplicate packets (1189696 bytes)
+		0 old duplicate packets
+		149 packets with some dup. data (156779 bytes duped)
+		132 out-of-order packets (20064 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		109 window update packets
+		2 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	164 connection requests
+	107 connection accepts
+	271 connections established (including accepts)
+	597 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	124543 segments updated rtt (of 82508 attempts)
+	31 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	63 keepalive timeouts
+		54 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	81281 correct data packet header predictions
+	234 PCB hash misses
+	9 dropped due to no socket
+	0 connections drained due to memory shortage
+	2 PMTUD blackholes detected
+	0 bad connection attempts
+	107 SYN cache entries added
+		0 hash collisions
+		107 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		107 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp6:
+	1048 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 with no checksum
+	0 dropped due to no socket
+	0 multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	1048 delivered
+	1047 datagrams output
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	216021 SPD cache lookups
+	216021 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+pim6:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 messages received with bad version
+	0 registers received
+	0 bad registers received
+	0 registers sent
+rip6:
+	0 messages received
+	0 checksum calculations on inbound
+	0 messages with bad checksum
+	0 messages dropped due to no socket
+	0 multicast messages dropped due to no socket
+	0 messages dropped due to full socket buffers
+	0 delivered
+	0 datagrams output
+arp:
+	453 packets sent
+		438 reply packets
+		15 request packets
+	41140 packets received
+		13 reply packets
+		41127 valid request packets
+		40803 broadcast/multicast packets
+		0 packets with unknown protocol type
+		0 packets with bad (short) length
+		0 packets with null target IP address
+		40 packets with null source IP address
+		0 could not be mapped to an interface
+		0 packets sourced from a local hardware address
+		0 packets with a broadcast source hardware address
+		0 duplicates for a local IP address
+		0 attempts to overwrite a static entry
+		0 packets received on wrong interface
+		0 entrys overwritten
+		0 changes in hardware address length
+	12 packets deferred pending ARP resolution
+		10 sent
+		2 dropped
+	0 failures to allocate llinfo
+pfkey:
+	0 requests sent from userland
+	0 bytes sent from userland
+	0 messages with invalid length field
+	0 messages with invalid version field
+	0 messages with invalid message type field
+	0 messages too short
+	0 messages with memory allocation failure
+	0 messages with duplicate extension
+	0 messages with invalid extension type
+	0 messages with invalid sa type
+	0 messages with invalid address extension
+	0 requests sent to userland
+	0 bytes sent to userland
+	0 messages toward single socket
+	0 messages toward all sockets
+	0 messages toward registered sockets
+	0 messages with memory allocation failure
+ddp:
+	0 packets with short headers 
+	0 packets with long headers 
+	0 packets with no checksum 
+	0 packets too short 
+	0 packets with bad checksum 
+	0 packets with not enough data 
+	0 packets forwarded 
+	0 packets encapsulated 
+	0 packets rcvd for unreachable dest 
+	0 packets dropped due to no socket space 
+TP not configured
+
Index: othersrc/external/bsd/arfe/dt/t/netstat-s.1
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/netstat-s.1:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/netstat-s.1	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,524 @@
+icmp:
+	0 calls to icmp_error
+	0 errors not generated because old message was icmp
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	0 multicast echo requests ignored
+	0 multicast timestamp requests ignored
+	0 message responses generated
+	0 path MTU changes
+igmp:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 membership queries received
+	0 membership queries received with invalid field(s)
+	0 membership reports received
+	0 membership reports received with invalid field(s)
+	0 membership reports received for groups to which we belong
+	0 membership reports sent
+tcp:
+	140729 packets sent
+		124617 data packets (19683049 bytes)
+		105 data packets (92040 bytes) retransmitted
+		12600 ack-only packets (81037 delayed)
+		0 URG only packets
+		0 window probe packets
+		3007 window update packets
+		400 control packets
+		0 send attempts resulted in self-quench
+	208510 packets received
+		124425 acks (for 19681980 bytes)
+		362 duplicate acks
+		0 acks for unsent data
+		87675 packets (19465265 bytes) received in-sequence
+		1090 completely duplicate packets (1189696 bytes)
+		0 old duplicate packets
+		149 packets with some dup. data (156779 bytes duped)
+		132 out-of-order packets (20064 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		109 window update packets
+		2 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	164 connection requests
+	107 connection accepts
+	271 connections established (including accepts)
+	597 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	124589 segments updated rtt (of 82549 attempts)
+	31 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	63 keepalive timeouts
+		54 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	81324 correct data packet header predictions
+	234 PCB hash misses
+	9 dropped due to no socket
+	0 connections drained due to memory shortage
+	2 PMTUD blackholes detected
+	0 bad connection attempts
+	107 SYN cache entries added
+		0 hash collisions
+		107 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		107 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp:
+	13177 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 dropped due to no socket
+	10553 broadcast/multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	2624 delivered
+	13754 PCB hash misses
+	2619 datagrams output
+ip:
+	15014 total packets received
+	0 bad header checksums
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with length > max ip packet size
+	0 with header length < data size
+	0 with data length < header length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped (out of ipqent)
+	0 malformed fragments dropped
+	0 fragments dropped after timeout
+	0 packets reassembled ok
+	15007 packets for this host
+	0 packets for unknown/unsupported protocol
+	0 packets forwarded (0 packets fast forwarded)
+	7 packets not forwardable
+	0 redirects sent
+	0 packets no matching gif found
+	4106 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 datagrams with bad address in header
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	216110 SPD cache lookups
+	216110 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+ip6:
+	222857 total packets received
+	0 with size smaller than minimum
+	0 with data size < data length
+	0 with bad options
+	0 with incorrect version number
+	0 fragments received
+	0 fragments dropped (dup or out of space)
+	0 fragments dropped after timeout
+	0 fragments that exceeded limit
+	0 packets reassembled ok
+	208969 packets for this host
+	0 packets forwarded
+	0 packets fast forwarded
+	0 fast forward flows
+	457 packets not forwardable
+	0 redirects sent
+	153113 packets sent from this host
+	0 packets sent with fabricated ip header
+	0 output packets dropped due to no bufs, etc.
+	0 output packets discarded due to no route
+	0 output datagrams fragmented
+	0 fragments created
+	0 datagrams that can't be fragmented
+	0 packets that violated scope rules
+	457 multicast packets which we don't join
+	Input packet histogram:
+		hop by hop: 2
+		TCP: 206680
+		UDP: 1270
+		ICMP6: 14905
+	Mbuf statistics:
+		404 one mbufs
+		two or more mbuf:
+			lo0 = 95
+		222358 one ext mbufs
+		0 two or more ext mbufs
+	0 packets whose headers are not continuous
+	0 tunneling packets that can't find gif
+	0 packets discarded due to too many headers
+	0 failures of source address selection
+	211079 forward cache hit
+	9410 forward cache miss
+icmp6:
+	0 calls to icmp6_error
+	0 errors not generated because old message was icmp6 or so
+	0 errors not generated because of rate limitation
+	Output packet histogram:
+		multicast listener report: 16
+		router solicitation: 4
+		neighbor solicitation: 6397
+		neighbor advertisement: 6360
+	0 messages with bad code fields
+	0 messages < minimum length
+	0 bad checksums
+	0 messages with bad length
+	Input packet histogram:
+		packet too big: 21
+		router advertisement: 1241
+		neighbor solicitation: 6360
+		neighbor advertisement: 7050
+	Histogram of error messages to be generated:
+		0 no route
+		0 administratively prohibited
+		0 beyond scope
+		0 address unreachable
+		0 port unreachable
+		0 packet too big
+		0 time exceed transit
+		0 time exceed reassembly
+		0 erroneous header field
+		0 unrecognized next header
+		0 unrecognized option
+		0 redirect
+		0 unknown
+	0 message responses generated
+	0 messages with too many ND options
+	0 messages with bad ND options
+	0 bad neighbor solicitation messages
+	0 bad neighbor advertisement messages
+	0 bad router solicitation messages
+	0 bad router advertisement messages
+	0 router advertisement routes dropped
+	0 bad redirect messages
+	13 path MTU changes
+tcp6:
+	140729 packets sent
+		124617 data packets (19683049 bytes)
+		105 data packets (92040 bytes) retransmitted
+		12600 ack-only packets (81037 delayed)
+		0 URG only packets
+		0 window probe packets
+		3007 window update packets
+		400 control packets
+		0 send attempts resulted in self-quench
+	208510 packets received
+		124425 acks (for 19681980 bytes)
+		362 duplicate acks
+		0 acks for unsent data
+		87675 packets (19465265 bytes) received in-sequence
+		1090 completely duplicate packets (1189696 bytes)
+		0 old duplicate packets
+		149 packets with some dup. data (156779 bytes duped)
+		132 out-of-order packets (20064 bytes)
+		0 packets (0 bytes) of data after window
+		0 window probes
+		109 window update packets
+		2 packets received after close
+		0 discarded for bad checksums
+		0 discarded for bad header offset fields
+		0 discarded because packet too short
+	164 connection requests
+	107 connection accepts
+	271 connections established (including accepts)
+	597 connections closed (including 0 drops)
+	0 embryonic connections dropped
+	0 delayed frees of tcpcb
+	124589 segments updated rtt (of 82549 attempts)
+	31 retransmit timeouts
+		0 connections dropped by rexmit timeout
+	0 persist timeouts (resulting in 0 dropped connections)
+	63 keepalive timeouts
+		54 keepalive probes sent
+		0 connections dropped by keepalive
+	0 correct ACK header predictions
+	81324 correct data packet header predictions
+	234 PCB hash misses
+	9 dropped due to no socket
+	0 connections drained due to memory shortage
+	2 PMTUD blackholes detected
+	0 bad connection attempts
+	107 SYN cache entries added
+		0 hash collisions
+		107 completed
+		0 aborted (no space to build PCB)
+		0 timed out
+		0 dropped due to overflow
+		0 dropped due to bucket overflow
+		0 dropped due to RST
+		0 dropped due to ICMP unreachable
+		107 delayed free of SYN cache entries
+	0 SYN,ACKs retransmitted
+	0 duplicate SYNs received for entries already in the cache
+	0 SYNs dropped (no route or no space)
+	0 packets with bad signature
+	0 packets with good signature
+	0 successful ECN handshakes
+	0 packets with ECN CE bit
+	0 packets ECN ECT(0) bit
+udp6:
+	1048 datagrams received
+	0 with incomplete header
+	0 with bad data length field
+	0 with bad checksum
+	0 with no checksum
+	0 dropped due to no socket
+	0 multicast datagrams dropped due to no socket
+	0 dropped due to full socket buffers
+	1048 delivered
+	1047 datagrams output
+(Fast) IPsec:
+	0 no SA found (output)
+	0 no memory available (output)
+	0 no route available (output)
+	0 generic errors (output)
+	0 bundled SA processed (output)
+	216110 SPD cache lookups
+	216110 SPD cache misses
+
+IPsec ah:
+	0 ah input packets processed
+	0 ah output packets processed
+	0 ah headers too short
+	0 ah headers for unsupported address family
+	0 ah packets with no SA
+	0 ah packets dropped by crypto returning NULL mbuf
+	0 ah packets with bad authentication
+	0 ah packets with no xform
+	0 ah packets dropped due to queue full
+	0 ah packets dropped for replay counter wrap
+	0 ah packets dropped for possible replay
+	0 ah packets dropped for bad authenticator length
+	0 ah packets with an invalid SA
+	0 ah packets too big
+	0 ah packets blocked due to policy
+	0 ah failed crypto requests
+	0 ah tunnel sanity check failures
+	ah histogram:
+	0 ah bytes received
+	0 ah bytes transmitted
+
+IPsec esp:
+	0 esp input packets processed
+	0 esp output packets processed
+	0 esp headers too short
+	0 esp headers for unsupported address family
+	0 esp packets with no SA
+	0 esp packets dropped by crypto returning NULL mbuf
+	0 esp packets dropped due to queue full
+	0 esp packets with no xform
+	0 esp packets with bad ilen
+	0 esp packets with bad encryption
+	0 esp packets with bad authentication
+	0 esp packets dropped for replay counter wrap
+	0 esp packets dropped for possible replay
+	0 esp packets with an invalid SA
+	0 esp packets too big
+	0 esp packets blocked due to policy
+	0 esp failed crypto requests
+	0 esp tunnel sanity check failures
+	esp histogram:
+	0 esp bytes received
+	0 esp bytes transmitted
+IPsec ipip:
+	0 ipip total input packets
+	0 ipip total output packets
+	0 ipip packets too short for header length
+	0 ipip packets dropped due to queue full
+	0 ipip packets blocked due to policy
+	0 ipip IP spoofing attempts
+	0 ipip protocol family mismatched
+	0 ipip missing tunnel-endpoint address
+	0 ipip input bytes received
+	0 ipip output bytes processed
+IPsec ipcomp:
+	0 ipcomp packets too short for header length
+	0 ipcomp protocol family not supported
+	0 ipcomp packets with no SA
+	0 ipcomp packets dropped by crypto returning NULL mbuf
+	0 ipcomp queue full
+	0 ipcomp no support for transform
+	0 ipcomp packets dropped for replay counter wrap
+	0 ipcomp input IPcomp packets
+	0 ipcomp output IPcomp packets
+	0 ipcomp packets with an invalid SA
+	0 ipcomp packets decompressed as too big
+	0 ipcomp packets too short to be compressed
+	0 ipcomp packet for which compression was useless
+	0 ipcomp packets blocked due to policy
+	0 ipcomp failed crypto requests
+	IPcomp histogram:
+	0 ipcomp input bytes
+	0 ipcomp output bytes
+pim6:
+	0 messages received
+	0 messages received with too few bytes
+	0 messages received with bad checksum
+	0 messages received with bad version
+	0 registers received
+	0 bad registers received
+	0 registers sent
+rip6:
+	0 messages received
+	0 checksum calculations on inbound
+	0 messages with bad checksum
+	0 messages dropped due to no socket
+	0 multicast messages dropped due to no socket
+	0 messages dropped due to full socket buffers
+	0 delivered
+	0 datagrams output
+arp:
+	453 packets sent
+		438 reply packets
+		15 request packets
+	41140 packets received
+		13 reply packets
+		41127 valid request packets
+		40803 broadcast/multicast packets
+		0 packets with unknown protocol type
+		0 packets with bad (short) length
+		0 packets with null target IP address
+		40 packets with null source IP address
+		0 could not be mapped to an interface
+		0 packets sourced from a local hardware address
+		0 packets with a broadcast source hardware address
+		0 duplicates for a local IP address
+		0 attempts to overwrite a static entry
+		0 packets received on wrong interface
+		0 entrys overwritten
+		0 changes in hardware address length
+	12 packets deferred pending ARP resolution
+		10 sent
+		2 dropped
+	0 failures to allocate llinfo
+pfkey:
+	0 requests sent from userland
+	0 bytes sent from userland
+	0 messages with invalid length field
+	0 messages with invalid version field
+	0 messages with invalid message type field
+	0 messages too short
+	0 messages with memory allocation failure
+	0 messages with duplicate extension
+	0 messages with invalid extension type
+	0 messages with invalid sa type
+	0 messages with invalid address extension
+	0 requests sent to userland
+	0 bytes sent to userland
+	0 messages toward single socket
+	0 messages toward all sockets
+	0 messages toward registered sockets
+	0 messages with memory allocation failure
+ddp:
+	0 packets with short headers 
+	0 packets with long headers 
+	0 packets with no checksum 
+	0 packets too short 
+	0 packets with bad checksum 
+	0 packets with not enough data 
+	0 packets forwarded 
+	0 packets encapsulated 
+	0 packets rcvd for unreachable dest 
+	0 packets dropped due to no socket space 
+TP not configured
+
Index: othersrc/external/bsd/arfe/dt/t/quack123quack
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/quack123quack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/quack123quack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack123quack
Index: othersrc/external/bsd/arfe/dt/t/quack456quack
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/quack456quack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/quack456quack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quack456quack
Index: othersrc/external/bsd/arfe/dt/t/quackabequack
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/quackabequack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/quackabequack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quackabequack
Index: othersrc/external/bsd/arfe/dt/t/quackdariaquack
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/quackdariaquack:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/quackdariaquack	Mon Aug 10 21:10:59 2015
@@ -0,0 +1 @@
+quackdariaquack
Index: othersrc/external/bsd/arfe/dt/t/wm0-a
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/wm0-a:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/wm0-a	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,12 @@
+wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+	capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	address: 00:0a:0b:cd:01:ef
+	media: Ethernet autoselect (1000baseT full-duplex)
+	status: active
+	input: 9348780 packets, 2659054914 bytes, 2853146 multicasts
+	output: 5844547 packets, 1166873148 bytes, 2667 multicasts
+	inet 10.0.1.17 netmask 0xffffff00 broadcast 10.0.1.255
+	inet6 fe80::20a:bff:fecd:1ef%wm0 prefixlen 64 scopeid 0x1
+
+
Index: othersrc/external/bsd/arfe/dt/t/wm0-b
diff -u /dev/null othersrc/external/bsd/arfe/dt/t/wm0-b:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/dt/t/wm0-b	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,12 @@
+wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
+	capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	enabled=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx,UDP6CSUM_Tx>
+	address: 00:0a:0b:cd:01:ef
+	media: Ethernet autoselect (1000baseT full-duplex)
+	status: active
+	input: 9348892 packets, 2659066294 bytes, 2853157 multicasts
+	output: 5844607 packets, 1166884588 bytes, 2667 multicasts
+	inet 10.0.1.17 netmask 0xffffff00 broadcast 10.0.1.255
+	inet6 fe80::20a:bff:fecd:1ef%wm0 prefixlen 64 scopeid 0x1
+
+

Index: othersrc/external/bsd/arfe/it/.cvsignore
diff -u /dev/null othersrc/external/bsd/arfe/it/.cvsignore:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/it/.cvsignore	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,3 @@
+*.d
+.depend
+it
Index: othersrc/external/bsd/arfe/it/Makefile
diff -u /dev/null othersrc/external/bsd/arfe/it/Makefile:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/it/Makefile	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,21 @@
+NOMAN=
+.include <bsd.own.mk>
+
+PROG=it
+SRCS+=dt.c
+#CPPFLAGS+=-DHB_DEBUG
+DBG+=-g -O3
+#DBG+=-g -O0
+#COPTS+=-pg
+#LDFLAGS+=-pg
+CFLAGS+=-std=c99
+WARNS=5
+
+tags: $(SRCS) $(INCS)
+	@rm -f $(.OBJDIR)/tags
+	@ctags -atwd $(.ALLSRC)
+	@sort -o $(.OBJDIR)/tags $(.OBJDIR)/tags
+
+.PATH: $(.CURDIR)/../dt
+
+.include <bsd.prog.mk> 
Index: othersrc/external/bsd/arfe/it/README
diff -u /dev/null othersrc/external/bsd/arfe/it/README:1.1
--- /dev/null	Mon Aug 10 21:11:00 2015
+++ othersrc/external/bsd/arfe/it/README	Mon Aug 10 21:10:59 2015
@@ -0,0 +1,2 @@
+IT---(i)ntegrate (t)ext---is a variation on DT that adds
+instead of subtracts.  See ../dt/README.

Reply via email to