Lines Matching refs:hd
171 ngtcp2_pkt_hd hd;
177 switch (ngtcp2_accept(&hd, data, datalen)) {
201 send_connection_close(faddr, hd.version, hd.dcid, hd.scid, remote_addr,
207 if (hd.tokenlen == 0) {
218 switch (hd.token[0]) {
229 if (verify_retry_token(odcid, hd.token, hd.tokenlen, hd.version,
230 hd.dcid, &remote_addr.su.sa, remote_addr.len,
239 send_connection_close(faddr, hd.version, hd.dcid, hd.scid,
251 token = hd.token;
252 tokenlen = hd.tokenlen;
264 if (hd.tokenlen != NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN + 1) {
281 *qkms.get(), hd.token[NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN]);
283 if (verify_token(hd.token, hd.tokenlen - 1, &remote_addr.su.sa,
306 token = hd.token;
307 tokenlen = hd.tokenlen;
347 handler = handle_new_connection(faddr, remote_addr, local_addr, hd, podcid,
369 const Address &local_addr, const ngtcp2_pkt_hd &hd, const ngtcp2_cid *odcid,
421 if (upstream->init(faddr, remote_addr, local_addr, hd, odcid, token, tokenlen,