OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [net/] [ipconfig.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *  $Id: ipconfig.h,v 1.1.1.1 2004-04-15 02:34:19 phoenix Exp $
3
 *
4
 *  Copyright (C) 1997 Martin Mares
5
 *
6
 *  Automatic IP Layer Configuration
7
 */
8
 
9
/* The following are initdata: */
10
 
11
extern int ic_enable;           /* Enable or disable the whole shebang */
12
 
13
extern int ic_proto_enabled;    /* Protocols enabled (see IC_xxx) */
14
extern int ic_host_name_set;    /* Host name set by ipconfig? */
15
extern int ic_set_manually;     /* IPconfig parameters set manually */
16
 
17
extern u32 ic_myaddr;           /* My IP address */
18
extern u32 ic_netmask;          /* Netmask for local subnet */
19
extern u32 ic_gateway;          /* Gateway IP address */
20
 
21
extern u32 ic_servaddr;         /* Boot server IP address */
22
 
23
extern u32 root_server_addr;    /* Address of NFS server */
24
extern u8 root_server_path[];   /* Path to mount as root */
25
 
26
 
27
 
28
/* The following are persistent (not initdata): */
29
 
30
extern int ic_proto_used;       /* Protocol used, if any */
31
extern u32 ic_nameserver;       /* DNS server IP address */
32
extern u8 ic_domain[];          /* DNS (not NIS) domain name */
33
 
34
/* bits in ic_proto_{enabled,used} */
35
#define IC_PROTO        0xFF    /* Protocols mask: */
36
#define IC_BOOTP        0x01    /*   BOOTP (or DHCP, see below) */
37
#define IC_RARP         0x02    /*   RARP */
38
#define IC_USE_DHCP    0x100    /* If on, use DHCP instead of BOOTP */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.