Searched refs:adrep (Results 1 – 3 of 3) sorted by relevance
571 adrep_decode_header(struct adrep *adrep) in adrep_decode_header() argument575 if (adrep->adrp_byteorder != ADIST_BYTEORDER) { in adrep_decode_header()576 adrep->adrp_byteorder = ADIST_BYTEORDER; in adrep_decode_header()577 adrep->adrp_seq = bswap64(adrep->adrp_seq); in adrep_decode_header()578 adrep->adrp_error = bswap16(adrep->adrp_error); in adrep_decode_header()585 struct adrep adrep; in recv_thread() local607 if (proto_recv(adhost->adh_remote, &adrep, in recv_thread()608 sizeof(adrep)) == -1) { in recv_thread()615 adrep_decode_header(&adrep); in recv_thread()621 if (adreq->adr_seq == adrep.adrp_seq) { in recv_thread()[all …]
504 struct adrep adrep; in send_thread() local511 adrep.adrp_byteorder = ADIST_BYTEORDER; in send_thread()512 adrep.adrp_seq = adreq->adr_seq; in send_thread()513 adrep.adrp_error = adreq->adr_error; in send_thread()514 if (proto_send(adhost->adh_remote, &adrep, in send_thread()515 sizeof(adrep)) == -1) { in send_thread()
215 struct adrep { struct