Searched refs:cmsgp (Results 1 – 2 of 2) sorted by relevance
163 struct cmsghdr *cmsgp; in make_msg() local192 cmsgp = (struct cmsghdr *)cmsgbuf; in make_msg()196 cmsgp->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in make_msg()197 cmsgp->cmsg_level = IPPROTO_IPV6; in make_msg()198 cmsgp->cmsg_type = IPV6_PKTINFO; in make_msg()199 pi = (struct in6_pktinfo *)CMSG_DATA(cmsgp); in make_msg()203 cmsgp = CMSG_NXTHDR(&m, cmsgp); in make_msg()204 if (inet6_option_init((void *)cmsgp, &cmsgp, IPV6_HOPOPTS)) in make_msg()209 if (inet6_option_append(cmsgp, raopt, 4, 0)) in make_msg()
69 inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type) in inet6_option_init() argument81 *cmsgp = ch; in inet6_option_init()