Searched refs:sndhdr (Results 1 – 4 of 4) sorted by relevance
196 struct msghdr sndhdr; member
283 ctx->sndhdr.msg_name = (void *)&dst; in ipv6nd_sendrsprobe()284 ctx->sndhdr.msg_iov[0].iov_base = state->rs; in ipv6nd_sendrsprobe()285 ctx->sndhdr.msg_iov[0].iov_len = state->rslen; in ipv6nd_sendrsprobe()288 cm = CMSG_FIRSTHDR(&ctx->sndhdr); in ipv6nd_sendrsprobe()300 if (sendmsg(ctx->nd_fd, &ctx->sndhdr, 0) == -1) { in ipv6nd_sendrsprobe()
155 ctx->sndhdr.msg_namelen = sizeof(struct sockaddr_in6); in ipv6_init()156 ctx->sndhdr.msg_iov = ctx->sndiov; in ipv6_init()157 ctx->sndhdr.msg_iovlen = 1; in ipv6_init()158 ctx->sndhdr.msg_control = ctx->sndbuf; in ipv6_init()159 ctx->sndhdr.msg_controllen = sizeof(ctx->sndbuf); in ipv6_init()
1144 ctx->sndhdr.msg_name = (void *)&dst; in dhcp6_sendmessage()1145 ctx->sndhdr.msg_iov[0].iov_base = state->send; in dhcp6_sendmessage()1146 ctx->sndhdr.msg_iov[0].iov_len = state->send_len; in dhcp6_sendmessage()1149 cm = CMSG_FIRSTHDR(&ctx->sndhdr); in dhcp6_sendmessage()1159 if (sendmsg(ctx->dhcp_fd, &ctx->sndhdr, 0) == -1) { in dhcp6_sendmessage()