Diff for /embedaddon/iperf/src/queue.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2016/10/18 13:28:18 version 1.1.1.2, 2023/09/27 11:14:54
Line 36 Line 36
 #define _SYS_QUEUE_H_  #define _SYS_QUEUE_H_
   
 /*  /*
 * This file defines five types of data structures: singly-linked lists,  * This file defines five types of data structures: singly-linked lists,
  * lists, simple queues, tail queues, and circular queues.   * lists, simple queues, tail queues, and circular queues.
  *   *
  *   *
Line 95 Line 95
 struct name {                                                           \  struct name {                                                           \
         struct type *slh_first; /* first element */                     \          struct type *slh_first; /* first element */                     \
 }  }
 
 #define SLIST_HEAD_INITIALIZER(head)                                    \  #define SLIST_HEAD_INITIALIZER(head)                                    \
         { NULL }          { NULL }
 
 #define SLIST_ENTRY(type)                                               \  #define SLIST_ENTRY(type)                                               \
 struct {                                                                \  struct {                                                                \
         struct type *sle_next;  /* next element */                      \          struct type *sle_next;  /* next element */                      \
 }  }
 
 /*  /*
  * Singly-linked List access methods.   * Singly-linked List access methods.
  */   */
Line 318  struct {        \ Line 318  struct {        \
         struct type **tqe_prev; /* address of previous next element */  \          struct type **tqe_prev; /* address of previous next element */  \
 }  }
   
/* /*
 * tail queue access methods  * tail queue access methods
  */   */
 #define TAILQ_FIRST(head)               ((head)->tqh_first)  #define TAILQ_FIRST(head)               ((head)->tqh_first)
 #define TAILQ_END(head)                 NULL  #define TAILQ_END(head)                 NULL
Line 426  struct {        \ Line 426  struct {        \
 }  }
   
 /*  /*
 * Circular queue access methods  * Circular queue access methods
  */   */
 #define CIRCLEQ_FIRST(head)             ((head)->cqh_first)  #define CIRCLEQ_FIRST(head)             ((head)->cqh_first)
 #define CIRCLEQ_LAST(head)              ((head)->cqh_last)  #define CIRCLEQ_LAST(head)              ((head)->cqh_last)

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>