C API for BALTECH SDK

§ brp_Eth_GetNetworkStatus()

brp_errcode brp_Eth_GetNetworkStatus ( brp_protocol  protocol,
unsigned *  PortStatus,
brp_buf StaticIPAdr,
brp_buf StaticIPNetmask,
brp_buf StaticIPGateway,
brp_buf DHCPAdr,
brp_buf DHCPNetmask,
brp_buf DHCPGateway,
brp_buf LinkLocalAdr,
brp_buf LinkLocalNetmask,
brp_buf LinkLocalGateway,
brp_buf DNSAdr,
brp_buf HostAdr,
unsigned *  HostPort,
unsigned *  AutocloseTimeout,
brp_mempool mempool 
)

Retrieve current network status.

Parameters
[in]protocolused to execute the command
[out]PortStatus
[out]StaticIPAdr
[out]StaticIPNetmask
[out]StaticIPGateway
[out]DHCPAdr
[out]DHCPNetmask
[out]DHCPGateway
[out]LinkLocalAdr
[out]LinkLocalNetmask
[out]LinkLocalGateway
[out]DNSAdr
[out]HostAdr
[out]HostPort
[out]AutocloseTimeout
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool