Lines Matching refs:port
82 Fix opaque port passing problem
317 *len += 2; // Allocate space for two-byte port number
342 // Put dummy data in for the port, since we don't know what
438 union { uint16_t s; u_char b[2]; } port;
446 port.s = caddr.sin_port;
447 data[0] = port.b[0]; // don't switch the byte order, as the
448 data[1] = port.b[1]; // daemon expects it in network byte order
562 union { uint16_t s; u_char b[2]; } port;
574 port.b[0] = *data++;
575 port.b[1] = *data++;
580 ((DNSServiceResolveReply)sdr->app_callback)(sdr, flags, ifi, err, fullname, target, port.s, txtlen, txtrecord, sdr->app_context);
873 union { uint16_t s; u_char b[2]; } port = { PortInNetworkByteOrder };
894 len += 2 * sizeof(uint16_t); // port, txtLen
907 *ptr++ = port.b[0];
908 *ptr++ = port.b[1];