ctx = ifp->ctx->ipv6;
dst.sin6_scope_id = ifp->index;
- ctx->sndhdr.msg_name = (caddr_t)&dst;
- ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
+ ctx->sndhdr.msg_name = (void *)&dst;
+ ctx->sndhdr.msg_iov[0].iov_base = state->send;
ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
/* Set the outbound interface */
state = RS_STATE(ifp);
ctx = ifp->ctx->ipv6;
- ctx->sndhdr.msg_name = (caddr_t)&dst;
+ ctx->sndhdr.msg_name = (void *)&dst;
ctx->sndhdr.msg_iov[0].iov_base = state->rs;
ctx->sndhdr.msg_iov[0].iov_len = state->rslen;