Searched refs:cmsgp (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c129 struct cmsghdr *cmsgp; local
191 cmsgp = CMSG_FIRSTHDR(msgp);
199 cmsgp->cmsg_level = IPPROTO_IPV6;
200 cmsgp->cmsg_type = IPV6_HOPLIMIT;
201 cmsg_datap = CMSG_DATA(cmsgp);
204 cmsgp->cmsg_len = cmsg_datap + hoplimit_space - (uchar_t *)cmsgp;
205 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
211 cmsgp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c97 struct cmsghdr *cmsgp; local
173 cmsgp = CMSG_FIRSTHDR(msgp);
181 cmsgp->cmsg_level = IPPROTO_IPV6;
182 cmsgp->cmsg_type = IPV6_HOPLIMIT;
183 cmsg_datap = CMSG_DATA(cmsgp);
186 cmsgp->cmsg_len = cmsg_datap + hoplimit_space -
187 (uchar_t *)cmsgp;
188 cmsgp = CMSG_NXTHDR(msgp, cmsgp);
195 cmsgp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c202 struct cmsghdr *cmsgp; local
220 msg.msg_controllen = sizeof (*cmsgp) + _MAX_ALIGNMENT +
221 sizeof (*ipip) + _MAX_ALIGNMENT + sizeof (*cmsgp);
224 cmsgp = CMSG_FIRSTHDR(&msg);
225 ipip = (void *)CMSG_DATA(cmsgp);
228 cmsgp->cmsg_len = (caddr_t)(ipip + 1) - (caddr_t)cmsgp;
229 cmsgp->cmsg_type = IP_PKTINFO;
230 cmsgp->cmsg_level = IPPROTO_IP;
235 cmsgp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3123 struct cmsghdr *cmsgp; local
3159 cmsgp = CMSG_FIRSTHDR(&msg6);
3161 cmsgp->cmsg_level = IPPROTO_IPV6;
3162 cmsgp->cmsg_type = IPV6_HOPLIMIT;
3163 cmsg_datap = CMSG_DATA(cmsgp);
3166 cmsgp->cmsg_len = cmsg_datap + hoplimit_space - (uchar_t *)cmsgp;
3167 cmsgp = CMSG_NXTHDR(&msg6, cmsgp);
3169 cmsgp
3477 struct cmsghdr *cmsgp; local
[all...]

Completed in 320 milliseconds