This inlined function takes a quic_rx_packet struct as argument unique argument.
Let's move it to QUIC RX part.
ncid_frm->stateless_reset_token = src->stateless_reset_token;
}
-/* Return 1 if <pkt> header form is long, 0 if not. */
-static inline int qc_pkt_long(const struct quic_rx_packet *pkt)
-{
- return pkt->type != QUIC_PACKET_TYPE_SHORT;
-}
-
void chunk_frm_appendf(struct buffer *buf, const struct quic_frame *frm);
void quic_set_connection_close(struct quic_conn *qc, const struct quic_err err);
pkt->refcnt--;
}
+/* Return 1 if <pkt> header form is long, 0 if not. */
+static inline int qc_pkt_long(const struct quic_rx_packet *pkt)
+{
+ return pkt->type != QUIC_PACKET_TYPE_SHORT;
+}
+
#endif /* _HAPROXY_QUIC_RX_H */