MityDSP Documentation Index

e:/hudson/workspace/MityDSP MDK Release/trunk/sw/inc/lwip_port/sockets_inline.h File Reference

Header file to define lwip sockets as in-line functions with the "standard" names. More...

Functions

int accept (int s, struct sockaddr *addr, socklen_t *addrlen)
int bind (int s, struct sockaddr *name, socklen_t namelen)
int shutdown (int s, int how)
int close (int s)
int connect (int s, struct sockaddr *name, socklen_t namelen)
int getsockname (int s, struct sockaddr *name, socklen_t *namelen)
int getpeername (int s, struct sockaddr *name, socklen_t *namelen)
int setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen)
int getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen)
int listen (int s, int backlog)
int recv (int s, void *buf, int len, int flags)
int send (int s, void *buf, int len, int flags)
int recvfrom (int s, void *buf, int len, int flags, struct sockaddr *from, socklen_t *fromlen)
int sendto (int s, void *buf, int len, int flags, struct sockaddr *to, socklen_t tolen)
int read (int s, void *buf, int len)
int write (int s, void *buf, int len)
int socket (int domain, int type, int protocol)
int select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
int ioctlsocket (int s, long cmd, void *argp)
struct hostent * gethostbyname (const char *name)
int gethostbyname_r (const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop)
void freeaddrinfo (struct addrinfo *ai)
int getaddrinfo (const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res)
int lasterr (int s)

Detailed Description

Header file to define lwip sockets as in-line functions with the "standard" names.

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


Function Documentation

int accept ( int  s,
struct sockaddr *  addr,
socklen_t *  addrlen 
) [inline]
int bind ( int  s,
struct sockaddr *  name,
socklen_t  namelen 
) [inline]
int shutdown ( int  s,
int  how 
) [inline]
int close ( int  s  )  [inline]
int connect ( int  s,
struct sockaddr *  name,
socklen_t  namelen 
) [inline]
int getsockname ( int  s,
struct sockaddr *  name,
socklen_t *  namelen 
) [inline]
int getpeername ( int  s,
struct sockaddr *  name,
socklen_t *  namelen 
) [inline]
int setsockopt ( int  s,
int  level,
int  optname,
const void *  optval,
socklen_t  optlen 
) [inline]
int getsockopt ( int  s,
int  level,
int  optname,
void *  optval,
socklen_t *  optlen 
) [inline]
int listen ( int  s,
int  backlog 
) [inline]
int recv ( int  s,
void *  buf,
int  len,
int  flags 
) [inline]
int send ( int  s,
void *  buf,
int  len,
int  flags 
) [inline]
int recvfrom ( int  s,
void *  buf,
int  len,
int  flags,
struct sockaddr *  from,
socklen_t *  fromlen 
) [inline]
int sendto ( int  s,
void *  buf,
int  len,
int  flags,
struct sockaddr *  to,
socklen_t  tolen 
) [inline]
int read ( int  s,
void *  buf,
int  len 
) [inline]
int write ( int  s,
void *  buf,
int  len 
) [inline]
int socket ( int  domain,
int  type,
int  protocol 
) [inline]
int select ( int  nfds,
fd_set *  rfds,
fd_set *  wfds,
fd_set *  efds,
struct timeval *  timeout 
) [inline]
int ioctlsocket ( int  s,
long  cmd,
void *  argp 
) [inline]
struct hostent* gethostbyname ( const char *  name  )  [read]
int gethostbyname_r ( const char *  name,
struct hostent *  ret,
char *  buf,
size_t  buflen,
struct hostent **  result,
int *  h_errnop 
) [inline]
void freeaddrinfo ( struct addrinfo *  ai  )  [inline]
int getaddrinfo ( const char *  nodename,
const char *  servname,
const struct addrinfo *  hints,
struct addrinfo **  res 
) [inline]
int lasterr ( int  s  )  [inline]

  
Generated on Wed Mar 28 15:13:59 2012 for MityDSP lwIP Port by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.