Lines Matching refs:ntohs
48 UINT16_t len = ntohs(packet->length); in parsePacket()
103 UINT16_t len = ntohs(packet->length); in findTag()
281 len = (int) ntohs(packet->length); in clampMSS()
449 ntohs(conn->cookie.length) + TAG_HDR_SIZE); in sendPADT()
450 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE); in sendPADT()
451 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE; in sendPADT()
452 plen += ntohs(conn->cookie.length) + TAG_HDR_SIZE; in sendPADT()
457 ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
458 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE); in sendPADT()
459 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()
460 plen += ntohs(conn->relayId.length) + TAG_HDR_SIZE; in sendPADT()