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