1 //==========================================================================
5 // Initial test for network mbufs
7 //==========================================================================
8 //####BSDCOPYRIGHTBEGIN####
10 // -------------------------------------------
12 // Portions of this software may have been derived from OpenBSD or other sources,
13 // and are covered by the appropriate copyright disclaimers included herein.
15 // -------------------------------------------
17 //####BSDCOPYRIGHTEND####
18 //==========================================================================
19 //#####DESCRIPTIONBEGIN####
22 // Contributors: gthomas
28 //####DESCRIPTIONEND####
30 //==========================================================================
34 #include <sys/param.h>
37 #include <cyg/infra/diag.h>
38 #include <cyg/infra/testcase.h>
45 diag_printf("Start mbuf test\n");
47 for (i = 0; i < 32; i++) {
48 m[i] = m_get(M_DONTWAIT, MT_DATA);
49 diag_printf("allocate mbuf = 0x%p\n", m[i]);