1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00
Files
samba-mirror/source/lib/netif/netif.h
Andrew Bartlett d5f9e19b58 r14199: This isn't pretty, but it makes the network interface detection work again.
When making build changes, watch out that 'compiles' doesn't mean that
it works...

Andrew Bartlett
2007-10-10 13:56:59 -05:00

34 lines
982 B
C

/*
Unix SMB/CIFS implementation.
structures for lib/netif/
Copyright (C) Andrew Tridgell 2004
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
struct iface_struct {
char name[16];
struct in_addr ip;
struct in_addr netmask;
};
#define MAX_INTERFACES 128
#ifndef AUTOCONF_TEST
#include "netif/proto.h"
#endif