WE310F5  39.00.000
m2mb_netutils.h File Reference

Network utilities. More...

Go to the source code of this file.

Data Structures

struct  M2MB_Q_ELT
 
struct  M2MB_QUEUE
 queue header More...
 
struct  TIME_STRUCT_T
 time structure More...
 
#define min(a, b)   (((a) <= (b)) ? (a) : (b))
 macro to find minimum value in between two values More...
 
#define m2mb_socket_bsd_htonl(l)
 Conversion between host and network byte order. More...
 
#define m2mb_socket_bsd_ntohl(l)   m2mb_socket_bsd_htonl(l)
 Conversion between host and network byte order. More...
 
#define m2mb_socket_bsd_htons(s)   ((((s) >> 8) & 0xff) | (((s) << 8) & 0xff00))
 Conversion between host and network byte order. More...
 
#define m2mb_socket_bsd_ntohs(s)   m2mb_socket_bsd_htons(s)
 Conversion between host and network byte order. More...
 
typedef struct M2MB_Q_ELT M2MB_Q_ELT_T
 
typedef M2MB_Q_ELT_Tqp
 
typedef struct M2MB_QUEUE M2MB_QUEUE_T
 queue header More...
 
UINT32 m2mb_get_time (TIME_STRUCT_T *time)
 Getting time. More...
 
void m2mb_msec_delay (UINT32 ms)
 provides milliseconds delay. More...
 
void m2mb_usec_delay (UINT32 us)
 provides micro seconds delay. More...
 
void enqueue (M2MB_QUEUE_T *q, void *item)
 add item to the q's tail More...
 
void * dequeue (M2MB_QUEUE_T *q)
 remove item from the q's head More...
 

Detailed Description

Network utilities.

geps/inc/nwk/m2mb_netutils.h

Network utility macros.

Note
Dependencies:
Author
Prasad Reddy
Date
12/12/2017

Definition in file m2mb_netutils.h.