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

Diff for /src/usr.bin/netstat/inet.c between version 1.112 and 1.113

version 1.112, 2009/11/05 20:50:14 version 1.113, 2010/06/29 03:09:29
Line 90 
Line 90 
 struct  tcpcb tcpcb;  struct  tcpcb tcpcb;
 struct  socket sockb;  struct  socket sockb;
   
 static void protopr0(u_long, char *, int);  
   
 char    *inetname(struct in_addr *);  char    *inetname(struct in_addr *);
 void    inetprint(struct in_addr *, in_port_t, char *, int);  void    inetprint(struct in_addr *, in_port_t, char *, int);
 char    *inet6name(struct in6_addr *);  char    *inet6name(struct in6_addr *);
Line 104 
Line 102 
  * -a (all) flag is specified.   * -a (all) flag is specified.
  */   */
 void  void
 protopr(u_long off, char *name)  protopr(u_long off, char *name, int af)
 {  
         protopr0(off, name, AF_INET);  
 }  
   
 void  
 ip6protopr(u_long off, char *name)  
 {  
         protopr0(off, name, AF_INET6);  
 }  
   
 static void  
 protopr0(u_long off, char *name, int af)  
 {  {
         struct inpcbtable table;          struct inpcbtable table;
         struct inpcb *head, *next, *prev;          struct inpcb *head, *next, *prev;

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113