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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Din.talkd.c161 #define swapshort(a) (((a << 8) | ((unsigned short) a >> 8)) & 0xffff) macro
162 #define swaplong(a) ((swapshort(a) << 16) | (swapshort(((unsigned)a >> 16))))
173 if (req.ctl_addr.sin_family == swapshort(AF_INET)) {
177 swapreq.addr.sin_family = swapshort(req.addr.sin_family);
179 swapshort(req.ctl_addr.sin_family);

Completed in 44 milliseconds