Home
last modified time | relevance | path

Searched refs:cmsg_datap (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c130 uchar_t *cmsg_datap; in set_ancillary_data() local
201 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
203 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
204 cmsgp->cmsg_len = cmsg_datap + hoplimit_space - (uchar_t *)cmsgp; in set_ancillary_data()
213 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
219 rthdr0p = (struct ip6_rthdr0 *)cmsg_datap; in set_ancillary_data()
239 cmsgp->cmsg_len = cmsg_datap + rthdr_space - (uchar_t *)cmsgp; in set_ancillary_data()
249 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
252 pktinfop = (struct in6_pktinfo *)cmsg_datap; in set_ancillary_data()
264 cmsgp->cmsg_len = cmsg_datap + pktinfo_space - (uchar_t *)cmsgp; in set_ancillary_data()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c96 uchar_t *cmsg_datap; in set_ancillary_data() local
181 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
183 *(int *)cmsg_datap = hoplimit; in set_ancillary_data()
184 cmsgp->cmsg_len = cmsg_datap + hoplimit_space - in set_ancillary_data()
195 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
201 rthdr0p = (struct ip6_rthdr0 *)cmsg_datap; in set_ancillary_data()
220 cmsgp->cmsg_len = cmsg_datap + rthdr_space - (uchar_t *)cmsgp; in set_ancillary_data()
230 cmsg_datap = CMSG_DATA(cmsgp); in set_ancillary_data()
233 pktinfop = (struct in6_pktinfo *)cmsg_datap; in set_ancillary_data()
245 cmsgp->cmsg_len = cmsg_datap + pktinfo_space - (uchar_t *)cmsgp; in set_ancillary_data()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3124 uchar_t *cmsg_datap; in vrrpd_send_adv_v6() local
3163 cmsg_datap = CMSG_DATA(cmsgp); in vrrpd_send_adv_v6()
3165 *(int *)cmsg_datap = VRRP_IP_TTL; in vrrpd_send_adv_v6()
3166 cmsgp->cmsg_len = cmsg_datap + hoplimit_space - (uchar_t *)cmsgp; in vrrpd_send_adv_v6()
3171 cmsg_datap = CMSG_DATA(cmsgp); in vrrpd_send_adv_v6()
3174 pktinfop = (struct in6_pktinfo *)cmsg_datap; in vrrpd_send_adv_v6()
3186 cmsgp->cmsg_len = cmsg_datap + pktinfo_space - (uchar_t *)cmsgp; in vrrpd_send_adv_v6()
3478 uchar_t *cmsg_datap; in vrrpd_process_adv_v6() local
3498 cmsg_datap = CMSG_DATA(cmsgp); in vrrpd_process_adv_v6()
3503 if ((ttl = *(int *)cmsg_datap) == VRRP_IP_TTL) in vrrpd_process_adv_v6()
[all …]