DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
stbhwip.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2009 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 #ifndef _STBIP_H
25 #define _STBIP_H
26 
27 #include "techtype.h"
28 
35 BOOLEAN STB_IPGetIPAddress(U8BIT *ip_addr);
36 
43 BOOLEAN STB_IPGetSubnetMask(U8BIT *subnet_mask);
44 
51 BOOLEAN STB_IPGetGatewayIPAddress(U8BIT *gateway_addr);
52 
59 BOOLEAN STB_IPGetDnsServerIPAddress(U8BIT *dns_addr);
60 
66 void STB_IPSetIPAddress(const U8BIT *ip_addr);
67 
73 void STB_IPSetSubnetMask(const U8BIT *subnet_mask);
74 
80 void STB_IPSetGatewayIPAddress(const U8BIT *gateway_addr);
81 
87 void STB_IPSetDnsServerIPAddress(const U8BIT *dns_addr);
88 
94 void STB_IPGetIPByDhcp(BOOLEAN wait_for_completion);
95 
96 #endif
97 
void STB_IPGetIPByDhcp(BOOLEAN wait_for_completion)
Cause the IP address to be set using DHCP.
BOOLEAN STB_IPGetDnsServerIPAddress(U8BIT *dns_addr)
Gets the current IPv4 DNS server IP address.
void STB_IPSetIPAddress(const U8BIT *ip_addr)
Sets the IPv4 format IP address of default network connection.
void STB_IPSetGatewayIPAddress(const U8BIT *gateway_addr)
Sets the IPv4 format gateway IP address.
System Wide Global Technical Data Type Definitions.
void STB_IPSetDnsServerIPAddress(const U8BIT *dns_addr)
Sets the IPv4 format DNS server IP address.
void STB_IPSetSubnetMask(const U8BIT *subnet_mask)
Sets the IPv4 format subnet mask of default network connection.
BOOLEAN STB_IPGetGatewayIPAddress(U8BIT *gateway_addr)
Gets the current IPv4 gateway IP address.
BOOLEAN STB_IPGetIPAddress(U8BIT *ip_addr)
Gets the current IPv4 address of the default IP connection.
BOOLEAN STB_IPGetSubnetMask(U8BIT *subnet_mask)
Gets the current IPv4 subnet mask of the default IP connection.