unit3400: repair after capsule_encap_udp_hdr went static

Access the static function with UNITTEST as designed.

Follow-up to 73c2b4b435

Closes #21788
This commit is contained in:
Daniel Stenberg 2026-05-27 23:55:14 +02:00
parent 59320082b0
commit d1b482caec
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 10 additions and 3 deletions

View file

@ -46,6 +46,9 @@
CURLcode Curl_capsule_encap_udp_datagram(struct dynbuf *dyn,
const void *buf, size_t blen);
struct Curl_easy;
struct Curl_cfilter;
/**
* Process one UDP capsule from buffer into raw datagram payload bytes.
* @param cf Connection filter