Home | History | Annotate | Download | only in mDNSShared

Lines Matching defs:port

333 		*len += 2;  // Allocate space for two-byte port number
363 // Put dummy data in for the port, since we don't know what it is yet.
577 union { uint16_t s; u_char b[2]; } port;
589 port.s = caddr.sin_port;
590 data[0] = port.b[0]; // don't switch the byte order, as the
591 data[1] = port.b[1]; // daemon expects it in network byte order
1113 union { uint16_t s; u_char b[2]; } port;
1120 port.b[0] = *data++;
1121 port.b[1] = *data++;
1126 ((DNSServiceResolveReply)sdr->AppCallback)(sdr, cbh->cb_flags, cbh->cb_interface, cbh->cb_err, fullname, target, port.s, txtlen, txtrecord, sdr->AppContext);
1484 union { uint16_t s; u_char b[2]; } port = { PortInNetworkByteOrder };
1501 len += 2 * sizeof(uint16_t); // port, txtLen
1514 *ptr++ = port.b[0];
1515 *ptr++ = port.b[1];