Home | History | Annotate | Download | only in netinet6

Lines Matching defs:optbuf

1105 	u_int8_t *optbuf;
1121 optbuf = mtod(mopt, u_int8_t *);
1122 optbuf[1] = 0; /* = ((JUMBOOPTLEN) >> 3) - 1 */
1164 optbuf = mtod(n, u_int8_t *) + oldoptlen;
1168 optbuf = mtod(mopt, u_int8_t *) + mopt->m_len;
1171 optbuf[0] = IP6OPT_PADN;
1172 optbuf[1] = 0;
1183 optbuf[2] = IP6OPT_JUMBO;
1184 optbuf[3] = 4;
1186 memcpy(&optbuf[4], &v, sizeof(u_int32_t));
1652 void *optbuf;
1665 optbuf = malloc(optbuflen, M_IP6OPT, M_NOWAIT);
1666 if (optbuf == NULL) {
1671 error = sockopt_get(sopt, optbuf, optbuflen);
1673 free(optbuf, M_IP6OPT);
1677 error = ip6_pcbopt(optname, optbuf, optbuflen,
1680 free(optbuf, M_IP6OPT);