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