ifconfig.h (7c478bd9) ifconfig.h (69bb4bb4)
1/*
1/*
2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2 * Copyright 2006 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 */
10

--- 11 unchanged lines hidden (view full) ---

22/*
23 * return values for (af_getaddr)() from in_getprefixlen()
24 */
25#define BAD_ADDR -1 /* prefix is invalid */
26#define NO_PREFIX -2 /* no prefix was found */
27
28#define MAX_MODS 9 /* max modules that can be pushed on intr */
29
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 */
10

--- 11 unchanged lines hidden (view full) ---

22/*
23 * return values for (af_getaddr)() from in_getprefixlen()
24 */
25#define BAD_ADDR -1 /* prefix is invalid */
26#define NO_PREFIX -2 /* no prefix was found */
27
28#define MAX_MODS 9 /* max modules that can be pushed on intr */
29
30/* No suitable header file defines this, though it's in libsocket */
31extern int getnetmaskbyaddr(struct in_addr, struct in_addr *);
32
30extern int debug;
33extern int debug;
31extern uid_t euid;
32
33extern void Perror0(char *);
34extern void Perror0_exit(char *);
35extern void Perror2(char *, char *);
36extern void Perror2_exit(char *, char *);
37
38extern int doifrevarp(char *, struct sockaddr_in *);
34
35extern void Perror0(char *);
36extern void Perror0_exit(char *);
37extern void Perror2(char *, char *);
38extern void Perror2_exit(char *, char *);
39
40extern int doifrevarp(char *, struct sockaddr_in *);
39extern int getnetmaskbyaddr(struct in_addr, struct in_addr *);
40
41extern int dlpi_set_address(char *, uchar_t *, int);
42extern void dlpi_print_address(char *);
43
41
42extern int dlpi_set_address(char *, uchar_t *, int);
43extern void dlpi_print_address(char *);
44
44extern int do_dad(char *, struct sockaddr_in6 *);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* _IFCONFIG_H */
45#ifdef __cplusplus
46}
47#endif
48
49#endif /* _IFCONFIG_H */