version 1.12, 2002/06/09 04:07:10 |
version 1.13, 2003/02/01 01:51:31 |
|
|
struct socket sockb; |
struct socket sockb; |
|
|
static char *ipx_prpr(struct ipx_addr *); |
static char *ipx_prpr(struct ipx_addr *); |
|
#ifdef IPXERRORMSGS |
static void ipx_erputil(int, int); |
static void ipx_erputil(int, int); |
|
#endif |
|
|
static int first = 1; |
static int first = 1; |
|
|
|
|
*/ |
*/ |
|
|
void |
void |
ipxprotopr(off, name) |
ipxprotopr(u_long off, char *name) |
u_long off; |
|
char *name; |
|
{ |
{ |
struct ipxpcbtable table; |
struct ipxpcbtable table; |
struct ipxpcb *head, *prev, *next; |
struct ipxpcb *head, *prev, *next; |
|
|
* Dump SPX statistics structure. |
* Dump SPX statistics structure. |
*/ |
*/ |
void |
void |
spx_stats(off, name) |
spx_stats(u_long off, char *name) |
u_long off; |
|
char *name; |
|
{ |
{ |
struct spx_istat spx_istat; |
struct spx_istat spx_istat; |
#define spxstat spx_istat.newstats |
#define spxstat spx_istat.newstats |
|
|
* Dump IPX statistics structure. |
* Dump IPX statistics structure. |
*/ |
*/ |
void |
void |
ipx_stats(off, name) |
ipx_stats(u_long off, char *name) |
u_long off; |
|
char *name; |
|
{ |
{ |
struct ipxstat ipxstat; |
struct ipxstat ipxstat; |
|
|
|
|
char *name; |
char *name; |
char *where; |
char *where; |
} ipx_errnames[] = { |
} ipx_errnames[] = { |
{0, "Unspecified Error", " at Destination"}, |
{ 0, "Unspecified Error", " at Destination" }, |
{1, "Bad Checksum", " at Destination"}, |
{ 1, "Bad Checksum", " at Destination" }, |
{2, "No Listener", " at Socket"}, |
{ 2, "No Listener", " at Socket" }, |
{3, "Packet", " Refused due to lack of space at Destination"}, |
{ 3, "Packet", " Refused due to lack of space at Destination" }, |
{01000, "Unspecified Error", " while gatewayed"}, |
{ 01000, "Unspecified Error", " while gatewayed" }, |
{01001, "Bad Checksum", " while gatewayed"}, |
{ 01001, "Bad Checksum", " while gatewayed" }, |
{01002, "Packet", " forwarded too many times"}, |
{ 01002, "Packet", " forwarded too many times" }, |
{01003, "Packet", " too large to be forwarded"}, |
{ 01003, "Packet", " too large to be forwarded" }, |
{-1, 0, 0}, |
{ -1, 0, 0 }, |
}; |
}; |
|
|
/* |
/* |
|
|
*/ |
*/ |
/*ARGSUSED*/ |
/*ARGSUSED*/ |
void |
void |
ipxerr_stats(off, name) |
ipxerr_stats(u_long off, char *name) |
u_long off; |
|
char *name; |
|
{ |
{ |
struct ipx_errstat ipx_errstat; |
struct ipx_errstat ipx_errstat; |
int j; |
int j; |
|
|
} |
} |
|
|
static void |
static void |
ipx_erputil(z, c) |
ipx_erputil(int z, int c) |
int z, c; |
|
{ |
{ |
int j; |
int j; |
char codebuf[30]; |
char codebuf[30]; |
|
|
} |
} |
#endif /* IPXERRORMSGS */ |
#endif /* IPXERRORMSGS */ |
|
|
static struct sockaddr_ipx ssipx = {AF_IPX}; |
static struct sockaddr_ipx ssipx = { AF_IPX }; |
|
|
static char * |
static char * |
ipx_prpr(x) |
ipx_prpr(struct ipx_addr *x) |
struct ipx_addr *x; |
|
{ |
{ |
struct sockaddr_ipx *sipx = &ssipx; |
struct sockaddr_ipx *sipx = &ssipx; |
|
|