Lines Matching refs:pbuf
85 char *pbuf; in test_rth_init() local
89 pbuf = inet6_rth_init((void *)buf, 10, IPV6_RTHDR_TYPE_0, 100); in test_rth_init()
90 checkptr(NULL, pbuf, "buffer too small\0"); in test_rth_init()
92 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, 0); in test_rth_init()
93 checkptr((caddr_t)&buf, pbuf, "0 segments\0"); in test_rth_init()
95 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, 127); in test_rth_init()
96 checkptr((caddr_t)&buf, pbuf, "127 segments\0"); in test_rth_init()
98 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, -1); in test_rth_init()
99 checkptr(NULL, pbuf, "negative number of segments\0"); in test_rth_init()
101 pbuf = inet6_rth_init((void *)buf, 10240, IPV6_RTHDR_TYPE_0, 128); in test_rth_init()
102 checkptr(NULL, pbuf, "128 segments\0"); in test_rth_init()