Diff for /embedaddon/miniupnpd/miniupnpdtypes.h between versions 1.1 and 1.1.1.3

version 1.1, 2012/02/21 23:16:02 version 1.1.1.3, 2013/07/22 00:32:35
Line 1 Line 1
 /* $Id$ */  /* $Id$ */
 /* MiniUPnP project  /* MiniUPnP project
  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/   * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
 * (c) 2006-2007 Thomas Bernard * (c) 2006-2012 Thomas Bernard
  * This software is subject to the conditions detailed   * This software is subject to the conditions detailed
  * in the LICENCE file provided within the distribution */   * in the LICENCE file provided within the distribution */
#ifndef __MINIUPNPDTYPES_H__#ifndef MINIUPNPDTYPES_H_INCLUDED
#define __MINIUPNPDTYPES_H__#define MINIUPNPDTYPES_H_INCLUDED
   
 #include "config.h"  #include "config.h"
 #include <netinet/in.h>  #include <netinet/in.h>
   #include <net/if.h>
   #include <sys/queue.h>
   
/* structure for storing lan addresses/* structure and list for storing lan addresses
  * with ascii representation and mask */   * with ascii representation and mask */
 struct lan_addr_s {  struct lan_addr_s {
           char ifname[IFNAMSIZ];  /* example: eth0 */
   #ifdef ENABLE_IPV6
           unsigned int index;             /* use if_nametoindex() */
   #endif
         char str[16];   /* example: 192.168.0.1 */          char str[16];   /* example: 192.168.0.1 */
         struct in_addr addr, mask;      /* ip/mask */          struct in_addr addr, mask;      /* ip/mask */
 #ifdef MULTIPLE_EXTERNAL_IP  #ifdef MULTIPLE_EXTERNAL_IP
         char ext_ip_str[16];          char ext_ip_str[16];
         struct in_addr ext_ip_addr;          struct in_addr ext_ip_addr;
 #endif  #endif
           LIST_ENTRY(lan_addr_s) list;
 };  };
   LIST_HEAD(lan_addr_list, lan_addr_s);
   
 #endif  #endif

Removed from v.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>