# -*- coding: cp936 -*-

from ctypes import *



class verBefor8(LittleEndianStructure):
    _pack_ = 1
    _fields_ = [("ndBTSServerIpAddr", c_uint), ("ndBTSServerPort", c_ushort),
                ("ndGateWay", c_uint), ("ndIpAddr", c_uint),
                ("ndDHCPServerIpAddr", c_uint), ("ndDhcpEnable", c_uint),
                ("ndMAC", c_ubyte * 6), ("ndSubNetMask", c_uint),
                ("ndLanguage", c_ubyte)]

class ver8(LittleEndianStructure):
    _pack_ = 1
    _fields_ = [("ndBTSServerIpAddr", c_uint), ("ndBTSServerPort", c_ushort),
                ("ndGateWay", c_uint), ("ndIpAddr", c_uint),
                ("ndDHCPServerIpAddr", c_uint), ("ndDhcpEnable", c_uint),
                ("ndMAC", c_ubyte * 6), ("ndSubNetMask", c_uint),
                ("ndLanguage", c_ubyte), ("ndSlaveIp", c_uint)]
