4 Copyright: © 1984-1993 by Apple Computer, Inc., all rights reserved.
7 This file was auto generated by the interfacer tool. Modifications
8 must be made to the master file.
12 #ifndef __GETMYIPADDR__
13 #define __GETMYIPADDR__
15 #ifndef __MACTCPCOMMONTYPES__
16 #include <MacTCPCommonTypes.h>
19 #define ipctlGetAddr 15 /* csCode to get our IP address */
21 #define GetIPParamBlockHeader \
22 struct QElem *qLink; \
26 ProcPtr ioCompletion; \
28 StringPtr ioNamePtr; \
33 #if defined(powerc) || defined (__powerc)
34 #pragma options align=mac68k
36 struct GetAddrParamBlock {
37 GetIPParamBlockHeader; /* standard I/O header */
38 ip_addr ourAddress; /* our IP address */
39 long ourNetMask; /* our IP net mask */
41 #if defined(powerc) || defined(__powerc)
42 #pragma options align=reset