DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
Macros | Enumerations | Functions
ap_ipadd.c File Reference

Contains the function for ip address. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "stbhwos.h"
#include "stbhwip.h"
#include "stbhwnet.h"
#include "stbheap.h"
#include "app_nvm.h"
#include "ap_ipadd.h"

Macros

#define DBG(X)
 
#define IP_TASK_QUEUE_SIZE   10
 
#define IP_TASK_STACK   1024
 
#define IP_TASK_PRIO   10
 
#define IP_TASK_TIMEOUT   30000
 
#define IP_TASK_PERIOD   1000
 

Enumerations

enum  E_IPTASK_COMMAND { IPTASK_DHCP, IPTASK_STATIC }
 

Functions

void AIP_ConnectToNetwork (BOOLEAN wait_for_completion)
 Connect to network based on IP_MODE from NVM e.g. restore from IP NVM and connect to network. More...
 

Detailed Description

Contains the function for ip address.

Date
27/04/2010
Author
Ocean Blue

Function Documentation

void AIP_ConnectToNetwork ( BOOLEAN  wait_for_completion)

Connect to network based on IP_MODE from NVM e.g. restore from IP NVM and connect to network.

Parameters
wait_for_completionif TRUE and the mode is DHCP this function blocks until the DHCP has returned a result