~kris/9p

9hist

ad4b5c2caac052093a610af01b475445bb0c13da — David du Colombier 28 years ago cfa3628
Plan 9 from Bell Labs 1998-04-07
2 files changed, 6 insertions(+), 2 deletions(-)

M ip/il.c
M port/auth.c
M ip/il.c => ip/il.c +1 -1
@@ 201,7 201,7 @@ ilstate(Conv *c, char *state, int n)
	Ilcb *ic;

	ic = (Ilcb*)(c->ptcl);
	return snprint(state, n, "%14.14s del %5.5d Br %5.5d md %5.5d una %5.5d rex %5.5d max %5.5d",
	return snprint(state, n, "%s del %5.5d Br %5.5d md %5.5d una %5.5d rex %5.5d max %5.5d",
		ilstates[ic->state],
		ic->delay>>LogAGain, ic->rate>>LogAGain, ic->mdev>>LogDGain,
		ic->unackeduchars, ic->rexmit, ic->maxrtt);

M port/auth.c => port/auth.c +5 -1
@@ 479,7 479,7 @@ authcheck(Chan *c, char *a, int n)

/*
 *  reading authcheck after writing into it yields the
 *  nonce key
 *  unencrypted ticket
 */
long
authcheckread(Chan *c, char *a, int n)


@@ 528,6 528,10 @@ authentwrite(Chan *c, char *a, int n)
	return n;
}

/*
 *  create an authenticator and return it and optionally the
 *  unencripted ticket
 */
long
authentread(Chan *c, char *a, int n)
{