Lines Matching defs:type
142 static inline unsigned int dccp_packet_hdr_len(const u_int8_t type)
144 if (type == DCCP_PKT_DATA)
146 if (type == DCCP_PKT_DATAACK ||
147 type == DCCP_PKT_ACK ||
148 type == DCCP_PKT_SYNC ||
149 type == DCCP_PKT_SYNCACK ||
150 type == DCCP_PKT_CLOSE ||
151 type == DCCP_PKT_CLOSEREQ)
153 if (type == DCCP_PKT_REQUEST)
155 if (type == DCCP_PKT_RESPONSE)