Lines Matching refs:htons
684 me.sa4.sin_port = htons(port);
692 me.sa6.sin6_port = htons(port);
1183 sdp->th_opcode = htons((unsigned short)opcode_DATA);
1184 sdp->th_block = htons(sendblock);
1261 rap->th_opcode = htons((unsigned short)opcode_ACK);
1262 rap->th_block = htons(recvblock);
1321 rap->th_opcode = htons((unsigned short)opcode_ACK); /* send the "final"
1323 rap->th_block = htons(recvblock);
1361 tp->th_opcode = htons((unsigned short)opcode_ERROR);
1362 tp->th_code = htons((unsigned short)error);