~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to ipconfig/ipconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-01-04 20:24:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104202452-ec4v3n829rymukuv
Tags: 1.1.15-0ubuntu1
* New upstream version.

* Patch to fix compilation on parisc64 kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * ipconfig/ipconfig.h
3
 
 */
4
 
 
5
 
#include <sys/types.h>
6
 
#include <linux/types.h>        /* for __u16 */
7
 
 
8
 
#define LOCAL_PORT      68
9
 
#define REMOTE_PORT     (LOCAL_PORT - 1)
10
 
 
11
 
extern __u16 cfg_local_port;
12
 
extern __u16 cfg_remote_port;
13
 
 
14
 
extern struct netdev *ifaces;
15
 
 
16
 
extern int ipconfig_main(int argc, char *argv[]);
17
 
 
18
 
/*
19
 
 * Note for gcc 3.2.2:
20
 
 *
21
 
 * If you're turning on debugging, make sure you get rid of -Os from
22
 
 * the gcc command line, or else ipconfig will fail to link.
23
 
 */
24
 
#undef IPC_DEBUG
25
 
 
26
 
#undef DEBUG
27
 
#ifdef IPC_DEBUG
28
 
#define DEBUG(x) printf x
29
 
#else
30
 
#define DEBUG(x) do { } while(0)
31
 
#endif