Ignore:
Timestamp:
02/28/09 23:49:41 (3 years ago)
Author:
eagle
Message:

seems to work on WinXP now :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win/trunk/src/ocat.h

    r482 r484  
    156156//! Standard buffer size 1024 bytes 
    157157#define SIZE_1K 1024 
     158#define SIZE_256 256 
    158159 
    159160#define DEQUEUER_WAKEUP 3 
     
    266267   char *tun_dev; 
    267268   //! tunnel interface name 
    268    char tunname[IFNAMSIZ]; 
     269   char tunname[SIZE_256]; 
    269270   int ipv4_enable; 
    270271   struct in_addr ocat_addr4; 
     
    501502/* ocattun.c */ 
    502503#ifndef WITHOUT_TUN 
    503 int tun_alloc(char *, struct in6_addr); 
     504int tun_alloc(char *, int, struct in6_addr); 
    504505#endif 
    505506 
     
    600601/* ocat_wintuntap.c */ 
    601602int win_open_tun(char *, int); 
     603int win_close_tun(void); 
    602604int win_read_tun(char *, int); 
    603605int win_write_tun(const char *, int); 
Note: See TracChangeset for help on using the changeset viewer.