Lines Matching refs:ntohs
138 ntohs(*ah->dport) == TFTP_PORT_NUMBER) in fingerprint()
143 if (ntohs(*ah->dport) == RTSP_CONTROL_PORT_NUMBER_1 in fingerprint()
144 || ntohs(*ah->sport) == RTSP_CONTROL_PORT_NUMBER_1 in fingerprint()
145 || ntohs(*ah->dport) == RTSP_CONTROL_PORT_NUMBER_2 in fingerprint()
146 || ntohs(*ah->sport) == RTSP_CONTROL_PORT_NUMBER_2) in fingerprint()
154 if (ntohs(*ah->dport) == TFTP_PORT_NUMBER) in protohandler()
251 tlen = ntohs(pip->ip_len); in alias_rtsp_out()
321 base_alias = ntohs(salias); in alias_rtsp_out()
355 sprintf(stemp, "%d", ntohs(salias)); in alias_rtsp_out()
364 sprintf(stemp, "%d", ntohs(ealias)); in alias_rtsp_out()
433 if (ntohs(msg_id) == 0) /* end of options */ in alias_pna_out()
436 if ((ntohs(msg_id) == 1) || (ntohs(msg_id) == 7)) { in alias_pna_out()
458 work += ntohs(msg_len); in alias_pna_out()
479 tlen = ntohs(pip->ip_len); in AliasHandleRtspOut()
486 if ((ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_1) || in AliasHandleRtspOut()
487 (ntohs(tc->th_dport) == RTSP_CONTROL_PORT_NUMBER_2)) { in AliasHandleRtspOut()