internal static extern bool InternalIsEqualTo(ref NetAddress self, ref NetAddress x);
 internal static extern void InternalToString(ref NetAddress self, IntPtr buf, uint cbBuf, [MarshalAs(UnmanagedType.U1)] bool bWithPort);
 internal static extern bool InternalParseString(ref NetAddress self, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(Utf8StringToNative))] string pszStr);
 internal static extern void InternalSetIPv6LocalHost(ref NetAddress self, ushort nPort);
 internal static extern bool InternalIsLocalHost(ref NetAddress self);
 internal static extern bool InternalIsIPv4(ref NetAddress self);
 internal static extern uint InternalGetIPv4(ref NetAddress self);
 internal static extern void InternalSetIPv4(ref NetAddress self, uint nIP, ushort nPort);
 internal static extern void InternalSetIPv6(ref NetAddress self, ref byte ipv6, ushort nPort);
 internal static extern bool InternalIsIPv6AllZeros(ref NetAddress self);
 internal static extern void InternalClear(ref NetAddress self);
 internal static extern void InternalSetIPAddr(ref NetIdentity self, ref NetAddress addr);