MityDSP Documentation Index
Classes | Functions
DSPNetStack.h File Reference

MityDSP stack initialization code header file. More...

#include "arch/cc.h"
#include "lwip/opt.h"
#include "lwip/sys.h"
#include "lwip/tcpip.h"
#include "lwip/sockets.h"
#include "lwip/netdb.h"
#include "sockets_inline.h"
#include "lwip/dns.h"
#include "lwip/inet.h"
#include "lwip/mem.h"
#include "lwip/memp.h"
#include "lwip/netif.h"
#include "lwip/stats.h"

Classes

struct  tsDSPNetStackInit

Functions

void DSPGetNetStackDefaults (tsDSPNetStackInit *apSi)
int DSPNetStackInit (tsDSPNetStackInit *apSi)

Detailed Description

MityDSP stack initialization code header file.

o 0 | / Copyright (c) 2005-2007 (CL)—o Critical Link, LLC \ O


Function Documentation

void DSPGetNetStackDefaults ( tsDSPNetStackInit apSi)

Call this function once on application startup to get the default stack constants which you will then pass into the DSPNetStackInit() function. After calling this function but before you call DSPNetStackInit(), you may modify the default values in the tsDSPNetStackInit structure.

Parameters:
[in]apSiPointer to tsDSPNetStackInit structure to initialize.
Returns:
None
int DSPNetStackInit ( tsDSPNetStackInit apSi)

Call this function once on application startup to initialize the network stack internal memory structures.

Note:
You must first call DSPGetNetStackDefaults() it initialize the tsDSPNetStackInit structure that you pass into this function. Between the call to DSPGetNetStackDefaults() and the call to this function you may adjust the default values in the tsDSPNetStackInit structure to your applications needs.
Parameters:
[in]apSiPointer to tsDSPNetStackInit structure.
Returns:
0 if successful

  
Generated on Mon Apr 22 2013 11:33:32 for MityDSP Net by  Doxygen Version 1.8.1.1
Copyright © 2009, Critical Link LLC, All rights reserved.