dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.sbin / ifconfig / ifconfig.h
blob85f9ec0b1735406106477100f50efd36a8ad9e6a
1 /*
2 * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
5 /*
6 * Copyright (c) 1983 Regents of the University of California.
7 * All rights reserved. The Berkeley software License Agreement
8 * specifies the terms and conditions for redistribution.
9 */
11 #ifndef _IFCONFIG_H
12 #define _IFCONFIG_H
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 #include <libdlpi.h>
21 * return values for (af_getaddr)() from in_getprefixlen()
23 #define BAD_ADDR -1 /* prefix is invalid */
24 #define NO_PREFIX -2 /* no prefix was found */
26 extern int debug;
28 extern void Perror0(const char *);
29 extern void Perror0_exit(const char *);
30 extern void Perror2(const char *, const char *);
31 extern void Perror2_exit(const char *, const char *);
32 extern void Perrdlpi(const char *, const char *, int);
33 extern void Perrdlpi_exit(const char *, const char *, int);
35 extern int doifrevarp(const char *, struct sockaddr_in *);
37 extern void dlpi_print_address(const char *);
39 #ifdef __cplusplus
41 #endif
43 #endif /* _IFCONFIG_H */