"Fossies" - the Fresh Open Source Software Archive

Member "portfwd-0.29/src/addr.h" (5 May 2002, 312 Bytes) of package /linux/privat/old/portfwd-0.29.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2   addr.h
    3 
    4   $Id: addr.h,v 1.2 2002/05/05 08:55:52 evertonm Exp $
    5  */
    6 
    7 #ifndef ADDR_H
    8 #define ADDR_H
    9 
   10 struct ip_addr {
   11   char  *addr;
   12   short len;
   13 };
   14 
   15 extern const int addr_len;
   16 
   17 const char *addrtostr(const struct ip_addr *ip);
   18 void show_addr(const struct ip_addr *ip);
   19 
   20 #endif /* ADDR_H */
   21 
   22 /* Eof: addr.h */