version 1.7, 1998/02/27 12:07:36 |
version 1.8, 2001/11/19 19:02:15 |
|
|
char *name; |
char *name; |
{ |
{ |
struct isopcb cb; |
struct isopcb cb; |
register struct isopcb *prev, *next; |
struct isopcb *prev, *next; |
|
|
if (off == 0) { |
if (off == 0) { |
printf("%s control block: symbol not in namelist\n", name); |
printf("%s control block: symbol not in namelist\n", name); |
|
|
#ifdef notdef |
#ifdef notdef |
char * |
char * |
isonetname(iso) |
isonetname(iso) |
register struct iso_addr *iso; |
struct iso_addr *iso; |
{ |
{ |
struct sockaddr_iso sa; |
struct sockaddr_iso sa; |
struct iso_hostent *ihe = 0; |
struct iso_hostent *ihe = 0; |
|
|
|
|
static void |
static void |
isonetprint(iso, sufx, sufxlen, islocal) |
isonetprint(iso, sufx, sufxlen, islocal) |
register struct iso_addr *iso; |
struct iso_addr *iso; |
char *sufx; |
char *sufx; |
u_short sufxlen; |
u_short sufxlen; |
int islocal; |
int islocal; |
|
|
"ACKWAIT", |
"ACKWAIT", |
"OPEN", |
"OPEN", |
}; |
}; |
register struct isopcb *prev, *next; |
struct isopcb *prev, *next; |
struct x25_pcb xpcb; |
struct x25_pcb xpcb; |
|
|
if (off == 0) { |
if (off == 0) { |
|
|
|
|
static void |
static void |
tprintstat(s, indent) |
tprintstat(s, indent) |
register struct tp_stat *s; |
struct tp_stat *s; |
int indent; |
int indent; |
{ |
{ |
fprintf(OUT, |
fprintf(OUT, |
|
|
fprintf(OUT, |
fprintf(OUT, |
"\t%*sM:L ( M mbuf chains of length L)\n", indent, " "); |
"\t%*sM:L ( M mbuf chains of length L)\n", indent, " "); |
{ |
{ |
register int j; |
int j; |
|
|
fprintf(OUT, "\t%*s%ld: over 16\n", indent, " ", |
fprintf(OUT, "\t%*s%ld: over 16\n", indent, " ", |
s->ts_mb_len_distr[0]); |
s->ts_mb_len_distr[0]); |
|
|
"\t%*s%ld tp 0 connection%s\n", indent, " ", |
"\t%*s%ld tp 0 connection%s\n", indent, " ", |
s->ts_tp0_conn ,plural(s->ts_tp0_conn)); |
s->ts_tp0_conn ,plural(s->ts_tp0_conn)); |
{ |
{ |
register int j; |
int j; |
static char *name[]= { |
static char *name[]= { |
"~LOCAL, PDN", |
"~LOCAL, PDN", |
"~LOCAL,~PDN", |
"~LOCAL,~PDN", |
|
|
|
|
static void |
static void |
isonetprint(siso, islocal) |
isonetprint(siso, islocal) |
register struct sockaddr_iso *siso; |
struct sockaddr_iso *siso; |
int islocal; |
int islocal; |
{ |
{ |
hexprint(siso->siso_nlen, siso->siso_addr.isoa_genaddr, "{}"); |
hexprint(siso->siso_nlen, siso->siso_addr.isoa_genaddr, "{}"); |
|
|
int n; |
int n; |
char *buf, *delim; |
char *buf, *delim; |
{ |
{ |
register u_char *in = (u_char *)buf, *top = in + n; |
u_char *in = (u_char *)buf, *top = in + n; |
register char *out = obuf; |
char *out = obuf; |
register int i; |
int i; |
|
|
if (n == 0) |
if (n == 0) |
return; |
return; |