/[pengfork]/pengfork/include/iptunnel/init.h
ViewVC logotype

Diff of /pengfork/include/iptunnel/init.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by chupa, Sun Sep 8 16:41:08 2002 UTC revision 1.3 by chupa, Mon Sep 9 22:59:42 2002 UTC
# Line 33  struct ip_config_request Line 33  struct ip_config_request
33  __attribute__ ((packed));  __attribute__ ((packed));
34    
35    
36  struct ip_config_reply  struct ip_config_reply1
37  {  {
   u_int8_t flags;  
38    u_int8_t unknow1;    u_int8_t unknow1;
39    in_addr_t address;    in_addr_t address;
40    u_int8_t unknow2[8];    u_int8_t unknow2[8];
# Line 46  struct ip_config_reply Line 45  struct ip_config_reply
45  }  }
46  __attribute__ ((packed));  __attribute__ ((packed));
47    
48    struct ip_config_reply2
49    {
50      u_int8_t unknow1[4];
51      in_addr_t address;
52      u_int8_t unknow2[8];
53      in_addr_t dns_address;
54      u_int8_t unknow3[5];
55      u_int8_t hostname_len;
56      char hostname;
57    }
58    __attribute__ ((packed));
59    
60  #define DEFAULT_IP_CONFIG_REQUEST (struct ip_config_request)\  #define DEFAULT_IP_CONFIG_REQUEST (struct ip_config_request)\
61    { {0x07, 0x01, 0x01, 0x0c, 0x01, 0x01, 0x0d, 0x01, 0x01} }    { {0x07, 0x01, 0x01, 0x0c, 0x01, 0x01, 0x0d, 0x01, 0x01} }
62    
63    
64  void ip_tunnel_init (buffer_t *buffer);  void ip_tunnel_init ();
65  void ip_tunnel_config (token_t token, char *data, size_t data_size,  void ip_tunnel_config (token_t token, char *data, size_t data_size);
                    buffer_t *out);  
66  void init_iface (buffer_t *in, buffer_t *out);  void init_iface (buffer_t *in, buffer_t *out);
67    
68    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26