Lines Matching refs:extbuf
441 inet6_opt_init(void *extbuf, socklen_t extlen)
443 struct ip6_ext *ext = (struct ip6_ext *)extbuf;
455 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type,
496 if (extbuf) {
497 uint8_t *optp = (uint8_t *)extbuf + offset;
522 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset)
526 if (extbuf) {
533 padp = (uint8_t *)extbuf + offset;
555 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep,
564 lim = (uint8_t *)extbuf + extlen;
572 optp = (uint8_t *)(void *)((struct ip6_hbh *)extbuf + 1);
574 optp = (uint8_t *)extbuf + offset;
594 rv = optp + optlen - (uint8_t *)extbuf;
606 inet6_opt_find(void *extbuf, socklen_t extlen, int offset, uint8_t type,
615 lim = (uint8_t *)extbuf + extlen;
623 optp = (uint8_t *)(void *)((struct ip6_hbh *)extbuf + 1);
625 optp = (uint8_t *)extbuf + offset;
636 td = optp + optlen - (uint8_t *)extbuf;