Lines Matching refs:ntohs
855 switch(ntohs(ea->arp_op)) {
899 if(ntohs(ea->arp_op) != ARPOP_REQUEST)
968 if (ntohs(eh->ether_type) == ETHERTYPE_ARP)
980 if (ntohs(eh->ether_type) != ETHERTYPE_IP) {
1001 if (ntohs(ui->ui_dport) != KDP_REMOTE_PORT) {
1002 if (panicd_port == (ntohs(ui->ui_dport)) &&
1033 pkt.len = ntohs((u_short)ui->ui_ulen) - (unsigned int)sizeof (struct kdp_udphdr);
1736 uint16_t opcode64 = ntohs(th->th_opcode);
1751 if (ntohs(th->th_opcode) == KDP_ACK && ntohl(th->th_block) == panic_block) {
1754 if (ntohs(th->th_opcode) == KDP_ERROR) {