[BACK]Return to ipx.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / netstat

Diff for /src/usr.bin/netstat/Attic/ipx.c between version 1.12 and 1.13

version 1.12, 2002/06/09 04:07:10 version 1.13, 2003/02/01 01:51:31
Line 78 
Line 78 
 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;
   
Line 90 
Line 92 
  */   */
   
 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;
Line 164 
Line 164 
  * 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
Line 242 
Line 240 
  * 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;
   
Line 263 
Line 259 
         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 },
 };  };
   
 /*  /*
Line 279 
Line 275 
  */   */
 /*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;
Line 322 
Line 316 
 }  }
   
 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];
Line 349 
Line 342 
 }  }
 #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;
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13