Lines Matching refs:ntohs
743 switch(ntohs(ea->arp_op)) {
787 if(ntohs(ea->arp_op) != ARPOP_REQUEST)
856 if (ntohs(eh->ether_type) == ETHERTYPE_ARP)
868 if (ntohs(eh->ether_type) != ETHERTYPE_IP) {
889 if (ntohs(ui->ui_dport) != KDP_REMOTE_PORT) {
890 if (panicd_port == (ntohs(ui->ui_dport)) &&
921 pkt.len = ntohs((u_short)ui->ui_ulen) - (unsigned int)sizeof (struct udphdr);
1634 uint16_t opcode64 = ntohs(th->th_opcode);
1649 if (ntohs(th->th_opcode) == KDP_ACK && ntohl(th->th_block) == panic_block) {
1652 if (ntohs(th->th_opcode) == KDP_ERROR) {