Changeset d3c1060 in rtems


Ignore:
Timestamp:
Feb 4, 1999, 2:58:01 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
83c7b00
Parents:
1564ca8
Message:

Added debug printf()'s that are commented out. Uncommenting these
allows one to trace the enqueueing and dequeueing of messages. This
can be used to insure that packets are getting to the boundary between
the network stack and the device driver.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/net/if.h

    r1564ca8 rd3c1060  
    241241#define IF_DROP(ifq)            ((ifq)->ifq_drops++)
    242242#define IF_ENQUEUE(ifq, m) { \
     243/* printf(" IF_ENQUEUE: %p %p\n", ifq, m ); */ \
    243244        (m)->m_nextpkt = 0; \
    244245        if ((ifq)->ifq_tail == 0) \
     
    250251}
    251252#define IF_PREPEND(ifq, m) { \
     253/* printf(" IF_PREPEND: %p %p\n", ifq, m ); */ \
    252254        (m)->m_nextpkt = (ifq)->ifq_head; \
    253255        if ((ifq)->ifq_tail == 0) \
     
    259261        (m) = (ifq)->ifq_head; \
    260262        if (m) { \
     263/* printf(" IF_DEQUEUE: %p %p\n", ifq, m ); */ \
    261264                if (((ifq)->ifq_head = (m)->m_nextpkt) == 0) \
    262265                        (ifq)->ifq_tail = 0; \
  • c/src/lib/libnetworking/net/if.h

    r1564ca8 rd3c1060  
    241241#define IF_DROP(ifq)            ((ifq)->ifq_drops++)
    242242#define IF_ENQUEUE(ifq, m) { \
     243/* printf(" IF_ENQUEUE: %p %p\n", ifq, m ); */ \
    243244        (m)->m_nextpkt = 0; \
    244245        if ((ifq)->ifq_tail == 0) \
     
    250251}
    251252#define IF_PREPEND(ifq, m) { \
     253/* printf(" IF_PREPEND: %p %p\n", ifq, m ); */ \
    252254        (m)->m_nextpkt = (ifq)->ifq_head; \
    253255        if ((ifq)->ifq_tail == 0) \
     
    259261        (m) = (ifq)->ifq_head; \
    260262        if (m) { \
     263/* printf(" IF_DEQUEUE: %p %p\n", ifq, m ); */ \
    261264                if (((ifq)->ifq_head = (m)->m_nextpkt) == 0) \
    262265                        (ifq)->ifq_tail = 0; \
  • c/src/libnetworking/net/if.h

    r1564ca8 rd3c1060  
    241241#define IF_DROP(ifq)            ((ifq)->ifq_drops++)
    242242#define IF_ENQUEUE(ifq, m) { \
     243/* printf(" IF_ENQUEUE: %p %p\n", ifq, m ); */ \
    243244        (m)->m_nextpkt = 0; \
    244245        if ((ifq)->ifq_tail == 0) \
     
    250251}
    251252#define IF_PREPEND(ifq, m) { \
     253/* printf(" IF_PREPEND: %p %p\n", ifq, m ); */ \
    252254        (m)->m_nextpkt = (ifq)->ifq_head; \
    253255        if ((ifq)->ifq_tail == 0) \
     
    259261        (m) = (ifq)->ifq_head; \
    260262        if (m) { \
     263/* printf(" IF_DEQUEUE: %p %p\n", ifq, m ); */ \
    261264                if (((ifq)->ifq_head = (m)->m_nextpkt) == 0) \
    262265                        (ifq)->ifq_tail = 0; \
  • cpukit/libnetworking/net/if.h

    r1564ca8 rd3c1060  
    241241#define IF_DROP(ifq)            ((ifq)->ifq_drops++)
    242242#define IF_ENQUEUE(ifq, m) { \
     243/* printf(" IF_ENQUEUE: %p %p\n", ifq, m ); */ \
    243244        (m)->m_nextpkt = 0; \
    244245        if ((ifq)->ifq_tail == 0) \
     
    250251}
    251252#define IF_PREPEND(ifq, m) { \
     253/* printf(" IF_PREPEND: %p %p\n", ifq, m ); */ \
    252254        (m)->m_nextpkt = (ifq)->ifq_head; \
    253255        if ((ifq)->ifq_tail == 0) \
     
    259261        (m) = (ifq)->ifq_head; \
    260262        if (m) { \
     263/* printf(" IF_DEQUEUE: %p %p\n", ifq, m ); */ \
    261264                if (((ifq)->ifq_head = (m)->m_nextpkt) == 0) \
    262265                        (ifq)->ifq_tail = 0; \
Note: See TracChangeset for help on using the changeset viewer.