Lines Matching defs:hdr
137 u_short hdr; /* offset to header in buffer */
237 #define ATP_Q_ENTER(hdr, object, entry) { \
238 if ((hdr).head) { \
239 (hdr).head->entry.prev = (object); \
240 (object)->entry.next = (hdr).head; \
242 (hdr).tail = (object); \
246 (hdr).head = (object); \
249 #define ATP_Q_APPEND(hdr, object, entry) { \
250 if ((hdr).head) { \
251 (hdr).tail->entry.next = (object); \
252 (object)->entry.prev = (hdr).tail; \
254 (hdr).head = (object); \
258 (hdr).tail = (object); \
261 #define ATP_Q_REMOVE(hdr, object, entry) { \
265 (hdr).head = (object)->entry.next; \
270 (hdr).tail = (object)->entry.prev; \