Searched defs:bufspace (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping_aux6.c96 size_t bufspace; local
121 * bufspace[i] = sizeof(struct cmsghdr) + <pad after header> +
124 * total_bufspace = bufspace[0] + bufspace[1] + ...
125 * ... + bufspace[N-1] + sizeof (struct cmsghdr);
131 bufspace = 0;
135 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
141 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
147 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
152 * We need to temporarily set the msgp->msg_controllen to bufspace
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux6.c128 size_t bufspace; local
152 * bufspace[i] = sizeof(struct cmsghdr) + <pad after header> +
155 * total_bufspace = bufspace[0] + bufspace[1] + ...
156 * ... + bufspace[N-1] + sizeof (struct cmsghdr);
163 bufspace = sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
168 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
174 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
179 * We need to temporarily set the msgp->msg_controllen to bufspace
183 bufspace
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c3121 size_t bufspace = 0; local
3137 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
3141 bufspace += sizeof (struct cmsghdr) + _MAX_ALIGNMENT +
3145 * We need to temporarily set the msg6.msg_controllen to bufspace
3149 bufspace += sizeof (struct cmsghdr);
3150 msg6.msg_controllen = bufspace;
3152 msg6.msg_control = (struct cmsghdr *)malloc(bufspace);

Completed in 53 milliseconds