File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / miniupnpdtypes.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:16:02 2012 UTC (12 years, 4 months ago) by misho
Branches: miniupnpd, elwix, MAIN
CVS tags: v1_5, HEAD
miniupnpd

    1: /* $Id: miniupnpdtypes.h,v 1.1.1.1 2012/02/21 23:16:02 misho Exp $ */
    2: /* MiniUPnP project
    3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
    4:  * (c) 2006-2007 Thomas Bernard
    5:  * This software is subject to the conditions detailed
    6:  * in the LICENCE file provided within the distribution */
    7: #ifndef __MINIUPNPDTYPES_H__
    8: #define __MINIUPNPDTYPES_H__
    9: 
   10: #include "config.h"
   11: #include <netinet/in.h>
   12: 
   13: /* structure for storing lan addresses
   14:  * with ascii representation and mask */
   15: struct lan_addr_s {
   16: 	char str[16];	/* example: 192.168.0.1 */
   17: 	struct in_addr addr, mask;	/* ip/mask */
   18: #ifdef MULTIPLE_EXTERNAL_IP
   19: 	char ext_ip_str[16];
   20: 	struct in_addr ext_ip_addr;
   21: #endif
   22: };
   23: 
   24: #endif

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