GeezerVison is showing github.com — Allow to set destination connection id when creating a client side Qu… · netty/netty@81d6b47
File treeExpand file treeCollapse file tree Open diff view settings codec-classes-quic/src/main/java/io/netty/handler/codec/quic
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicChannelBootstrap.java +32-4Lines changed: 32 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -50,7 +50,8 @@ public final class QuicChannelBootstrap { | 50 | 50 |
| 51 | 51 | private SocketAddress local; | 52 | 52 | private SocketAddress remote; | 53 | | - private QuicConnectionAddress connectionAddress = QuicConnectionAddress.EPHEMERAL; | | 53 | + private QuicConnectionAddress localAddress = QuicConnectionAddress.EPHEMERAL; | | 54 | + private QuicConnectionAddress remoteAddress = QuicConnectionAddress.EPHEMERAL; | 54 | 55 | private ChannelHandler handler; | 55 | 56 | private ChannelHandler streamHandler; | 56 | 57 |
| @@ -178,9 +179,35 @@ public QuicChannelBootstrap remoteAddress(SocketAddress remote) { | 178 | 179 | * | 179 | 180 | * @param connectionAddress the {@link QuicConnectionAddress} to use. | 180 | 181 | * @return this instance. | | 182 | + * @deprecated use {@link #localConnectionAddress(QuicConnectionAddress)}. | 181 | 183 | */ | | 184 | + @Deprecated | 182 | 185 | public QuicChannelBootstrap connectionAddress(QuicConnectionAddress connectionAddress) { | 183 | | - this.connectionAddress = ObjectUtil.checkNotNull(connectionAddress, "connectionAddress"); | | 186 | + this.localAddress = ObjectUtil.checkNotNull(connectionAddress, "connectionAddress"); | | 187 | + return this; | | 188 | + } | | 189 | + | | 190 | + /** | | 191 | + * Set the {@link QuicConnectionAddress} to use. If none is specified a random address is generated on your | | 192 | + * behalf. | | 193 | + * | | 194 | + * @param localConnectionAddress the {@link QuicConnectionAddress} to use. | | 195 | + * @return this instance. | | 196 | + */ | | 197 | + public QuicChannelBootstrap localConnectionAddress(QuicConnectionAddress localConnectionAddress) { | | 198 | + this.localAddress = ObjectUtil.checkNotNull(localConnectionAddress, "localConnectionAddress"); | | 199 | + return this; | | 200 | + } | | 201 | + | | 202 | + /** | | 203 | + * Set the {@link QuicConnectionAddress} to use. If none is specified a random address is generated on your | | 204 | + * behalf. | | 205 | + * | | 206 | + * @param remoteConnectionAddress the {@link QuicConnectionAddress} to use. | | 207 | + * @return this instance. | | 208 | + */ | | 209 | + public QuicChannelBootstrap remoteConnectionAddress(QuicConnectionAddress remoteConnectionAddress) { | | 210 | + this.remoteAddress = ObjectUtil.checkNotNull(remoteConnectionAddress, "remoteConnectionAddress"); | 184 | 211 | return this; | 185 | 212 | } | 186 | 213 |
| @@ -220,7 +247,8 @@ public Future<QuicChannel> connect(Promise<QuicChannel> promise) { | 220 | 247 | throw new IllegalStateException("remote not set"); | 221 | 248 | } | 222 | 249 |
| 223 | | - final QuicConnectionAddress address = connectionAddress; | | 250 | + final QuicConnectionAddress localaddress = localAddress; | | 251 | + final QuicConnectionAddress remoteaddress = remoteAddress; | 224 | 252 | QuicChannel channel = QuicheQuicChannel.forClient(parent, (InetSocketAddress) local, | 225 | 253 | (InetSocketAddress) remote, | 226 | 254 | streamHandler, Quic.toOptionsArray(streamOptions), Quic.toAttributesArray(streamAttrs)); | @@ -232,7 +260,7 @@ public Future<QuicChannel> connect(Promise<QuicChannel> promise) { | 232 | 260 | if (cause != null) { | 233 | 261 | promise.setFailure(cause); | 234 | 262 | } else { | 235 | | - channel.connect(address).addListener(f -> { | | 263 | + channel.connect(remoteaddress, localaddress).addListener(f -> { | 236 | 264 | Throwable error = f.cause(); | 237 | 265 | if (error != null) { | 238 | 266 | promise.setFailure(error); | |
Collapse file Copy file name to clipboardExpand all lines: codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quiche.java +10Lines changed: 10 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -279,6 +279,9 @@ private static void loadNativeLibrary() { | 279 | 279 | static final int QUICHE_ERR_CRYPTO_BUFFER_EXCEEDED = | 280 | 280 | QuicheNativeStaticallyReferencedJniMethods.quiche_err_crypto_buffer_exceeded(); | 281 | 281 |
| | 282 | + static final int QUICHE_ERR_INVALID_DCID_INITIALIZATION = | | 283 | + QuicheNativeStaticallyReferencedJniMethods.quiche_err_invalid_dcid_initialization(); | | 284 | + | 282 | 285 | /** | 283 | 286 | * See <a href="https://github.com/cloudflare/quiche/blob/0.6.0/include/quiche.h#L176"> | 284 | 287 | * QUICHE_CC_RENO</a>. | @@ -340,6 +343,11 @@ static native long quiche_conn_new_with_tls(long scidAddr, int scidLen, long odc | 340 | 343 | long peerAddr, int peerLen, | 341 | 344 | long configAddr, long ssl, boolean isServer); | 342 | 345 |
| | 346 | + static native long quiche_conn_new_with_tls_and_client_dcid(long scidAddr, int scidLen, long odcidAddr, | | 347 | + int odcidLen, long localAddr, int localLen, | | 348 | + long peerAddr, int peerLen, | | 349 | + long configAddr, long ssl); | | 350 | + | 343 | 351 | /** | 344 | 352 | * See <a href="https://github.com/cloudflare/quiche/blob/master/include/quiche.h#L248"> | 345 | 353 | * quiche_conn_set_qlog_path</a>. | @@ -903,6 +911,8 @@ static long getPrimitiveValue(ByteBuffer memory, int offset, int valueType) { | 903 | 911 | new QuicTransportErrorHolder(QuicTransportError.PROTOCOL_VIOLATION, "QUICHE_ERR_STREAM_STOPPED")); | 904 | 912 | ERROR_MAPPINGS.put(QUICHE_ERR_OUT_OF_IDENTIFIERS, | 905 | 913 | new QuicTransportErrorHolder(QuicTransportError.PROTOCOL_VIOLATION, "QUICHE_ERR_OUT_OF_IDENTIFIERS")); | | 914 | + ERROR_MAPPINGS.put(QUICHE_ERR_INVALID_DCID_INITIALIZATION, new QuicTransportErrorHolder( | | 915 | + QuicTransportError.PROTOCOL_VIOLATION, "QUICHE_ERR_INVALID_DCID_INITIALIZATION")); | 906 | 916 | } | 907 | 917 |
| 908 | 918 | static Exception convertToException(int result) { | |
Collapse file Copy file name to clipboardExpand all lines: codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheNativeStaticallyReferencedJniMethods.java +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -42,6 +42,7 @@ final class QuicheNativeStaticallyReferencedJniMethods { | 42 | 42 | static native int quiche_err_out_of_identifiers(); | 43 | 43 | static native int quiche_err_key_update(); | 44 | 44 | static native int quiche_err_crypto_buffer_exceeded(); | | 45 | + static native int quiche_err_invalid_dcid_initialization(); | 45 | 46 | static native int quiche_cc_reno(); | 46 | 47 | static native int quiche_cc_cubic(); | 47 | 48 | static native int quiche_cc_bbr(); | |
Collapse file Copy file name to clipboardExpand all lines: codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicheQuicChannel.java +44-16Lines changed: 44 additions & 16 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -145,7 +145,8 @@ public void operationComplete(ChannelFuture future) { | 145 | 145 | private ByteBuf outErrorCodeBuffer; | 146 | 146 | private ChannelPromise connectPromise; | 147 | 147 | private ScheduledFuture<?> connectTimeoutFuture; | 148 | | - private QuicConnectionAddress connectAddress; | | 148 | + private QuicConnectionAddress connectLocalAddress; | | 149 | + private QuicConnectionAddress connectRemoteAddress; | 149 | 150 | private CloseData closeData; | 150 | 151 | private QuicConnectionCloseEvent connectionCloseEvent; | 151 | 152 | private QuicConnectionStats statsAtClose; | @@ -338,17 +339,19 @@ void connectNow(Function<QuicChannel, ? extends QuicSslEngine> engineProvider, E | 338 | 339 | this.sslTaskExecutor = sslTaskExecutor; | 339 | 340 | this.freeTask = freeTask; | 340 | 341 |
| 341 | | - QuicConnectionAddress address = this.connectAddress; | | 342 | + QuicConnectionAddress connectLocalAddress = this.connectLocalAddress; | 342 | 343 |
| 343 | | - if (address == QuicConnectionAddress.EPHEMERAL) { | 344 | | - address = QuicConnectionAddress.random(localConnIdLength); | | 344 | + if (connectLocalAddress == QuicConnectionAddress.EPHEMERAL) { | | 345 | + connectLocalAddress = QuicConnectionAddress.random(localConnIdLength); | 345 | 346 | } | 346 | | - ByteBuffer connectId = address.id(); | 347 | | - if (connectId.remaining() != localConnIdLength) { | | 347 | + ByteBuffer localConnectId = connectLocalAddress.id(); | | 348 | + if (localConnectId.remaining() != localConnIdLength) { | 348 | 349 | failConnectPromiseAndThrow(new IllegalArgumentException("connectionAddress has length " | 349 | | - + connectId.remaining() | | 350 | + + localConnectId.remaining() | 350 | 351 | + " instead of " + localConnIdLength)); | 351 | 352 | } | | 353 | + QuicConnectionAddress connectRemoteAddress = this.connectRemoteAddress; | | 354 | + | 352 | 355 | QuicSslEngine engine = engineProvider.apply(this); | 353 | 356 | if (!(engine instanceof QuicheQuicSslEngine)) { | 354 | 357 | failConnectPromiseAndThrow(new IllegalArgumentException("QuicSslEngine is not of type " | @@ -359,16 +362,37 @@ void connectNow(Function<QuicChannel, ? extends QuicSslEngine> engineProvider, E | 359 | 362 | failConnectPromiseAndThrow(new IllegalArgumentException("QuicSslEngine is not create in client mode")); | 360 | 363 | } | 361 | 364 | QuicheQuicSslEngine quicheEngine = (QuicheQuicSslEngine) engine; | 362 | | - ByteBuf idBuffer = alloc().directBuffer(connectId.remaining()).writeBytes(connectId.duplicate()); | | 365 | + ByteBuf localIdBuffer = alloc().directBuffer(localConnectId.remaining()).writeBytes(localConnectId.duplicate()); | | 366 | + ByteBuf remoteIdBuffer; | | 367 | + if (connectRemoteAddress != QuicConnectionAddress.EPHEMERAL) { | | 368 | + ByteBuffer remoteId = connectRemoteAddress.id(); | | 369 | + remoteIdBuffer = alloc().directBuffer(remoteId.remaining()).writeBytes(remoteId.duplicate()); | | 370 | + } else { | | 371 | + remoteIdBuffer = null; | | 372 | + } | 363 | 373 | try { | 364 | 374 | int fromSockaddrLen = SockaddrIn.setAddress(fromSockaddrMemory, local); | 365 | 375 | int toSockaddrLen = SockaddrIn.setAddress(toSockaddrMemory, remote); | 366 | | - QuicheQuicConnection connection = quicheEngine.createConnection(ssl -> | 367 | | - Quiche.quiche_conn_new_with_tls(Quiche.readerMemoryAddress(idBuffer), | 368 | | - idBuffer.readableBytes(), -1, -1, | | 376 | + QuicheQuicConnection connection = quicheEngine.createConnection(ssl -> { | | 377 | + long localIdMemoryAddress = Quiche.readerMemoryAddress(localIdBuffer); | | 378 | + int localIdLength = localIdBuffer.readableBytes(); | | 379 | + | | 380 | + final long remoteIdMemoryAddress; | | 381 | + final int remoteIdLength; | | 382 | + if (remoteIdBuffer == null) { | | 383 | + return Quiche.quiche_conn_new_with_tls(localIdMemoryAddress, localIdLength, | | 384 | + -1, -1, | 369 | 385 | Quiche.memoryAddressWithPosition(fromSockaddrMemory), fromSockaddrLen, | 370 | 386 | Quiche.memoryAddressWithPosition(toSockaddrMemory), toSockaddrLen, | 371 | | - configAddr, ssl, false)); | | 387 | + configAddr, ssl, false); | | 388 | + } else { | | 389 | + return Quiche.quiche_conn_new_with_tls_and_client_dcid(localIdMemoryAddress, localIdLength, | | 390 | + Quiche.readerMemoryAddress(remoteIdBuffer), remoteIdBuffer.readableBytes(), | | 391 | + Quiche.memoryAddressWithPosition(fromSockaddrMemory), fromSockaddrLen, | | 392 | + Quiche.memoryAddressWithPosition(toSockaddrMemory), toSockaddrLen, | | 393 | + configAddr, ssl); | | 394 | + } | | 395 | + }); | 372 | 396 | if (connection == null) { | 373 | 397 | failConnectPromiseAndThrow(new ConnectException()); | 374 | 398 | return; | @@ -383,9 +407,12 @@ void connectNow(Function<QuicChannel, ? extends QuicSslEngine> engineProvider, E | 383 | 407 | } | 384 | 408 | } | 385 | 409 | this.supportsDatagram = supportsDatagram; | 386 | | - sourceConnectionIds.add(connectId); | | 410 | + sourceConnectionIds.add(localConnectId); | 387 | 411 | } finally { | 388 | | - idBuffer.release(); | | 412 | + localIdBuffer.release(); | | 413 | + if (remoteIdBuffer != null) { | | 414 | + remoteIdBuffer.release(); | | 415 | + } | 389 | 416 | } | 390 | 417 | } | 391 | 418 |
| @@ -1543,7 +1570,8 @@ public void connect(SocketAddress remote, SocketAddress local, ChannelPromise ch | 1543 | 1570 | return; | 1544 | 1571 | } | 1545 | 1572 |
| 1546 | | - connectAddress = (QuicConnectionAddress) remote; | | 1573 | + connectLocalAddress = (QuicConnectionAddress) local; | | 1574 | + connectRemoteAddress = (QuicConnectionAddress) remote; | 1547 | 1575 | connectPromise = channelPromise; | 1548 | 1576 |
| 1549 | 1577 | // Schedule connect timeout. | @@ -1553,7 +1581,7 @@ public void connect(SocketAddress remote, SocketAddress local, ChannelPromise ch | 1553 | 1581 | ChannelPromise connectPromise = QuicheQuicChannel.this.connectPromise; | 1554 | 1582 | if (connectPromise != null && !connectPromise.isDone() | 1555 | 1583 | && connectPromise.tryFailure(new ConnectTimeoutException( | 1556 | | - "connection timed out: " + remote))) { | | 1584 | + "connection timed out: " + local + " -> " + remote))) { | 1557 | 1585 | close(voidPromise()); | 1558 | 1586 | } | 1559 | 1587 | }, connectTimeoutMillis, TimeUnit.MILLISECONDS); | |
Collapse file Copy file name to clipboardExpand all lines: codec-native-quic/pom.xml +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 60 | 60 | <quicheHomeIncludeDir>${quicheHomeDir}/quiche/include</quicheHomeIncludeDir> | 61 | 61 | <quicheRepository>https://github.com/cloudflare/quiche</quicheRepository> | 62 | 62 | <quicheBranch>master</quicheBranch> | 63 | | - <quicheCommitSha>c9d3e85f0f2acda30acbe186033bf534faeba7f3</quicheCommitSha> | | 63 | + <quicheCommitSha>4f347477006bf7f928335d28f05056013f70b87e</quicheCommitSha> | 64 | 64 | <generatedSourcesDir>${project.build.directory}/generated-sources</generatedSourcesDir> | 65 | 65 | <templateDir>${project.build.directory}/template</templateDir> | 66 | 66 | <cargoTarget /> | | 820 | 820 | <equals arg1="${platform}" arg2="android" /> | 821 | 821 | <then> | 822 | 822 | <exec executable="cargo" failonerror="true" dir="${quicheSourceDir}" resolveexecutable="true"> | 823 | | - <arg line="ndk ${cargoTarget} --platform ${androidNdkVersion} -- build -p quiche --features "ffi qlog" --release" /> | | 823 | + <arg line="ndk ${cargoTarget} --platform ${androidNdkVersion} -- build -p quiche --features "ffi qlog custom-client-dcid" --release" /> | 824 | 824 | <env key="CFLAGS" value="${extraCflags}" /> | 825 | 825 | <env key="CXXFLAGS" value="${extraCxxflags}" /> | 826 | 826 | <env key="QUICHE_BSSL_PATH" value="${boringsslHomeDir}/" /> | | 831 | 831 | <equals arg1="${os.detected.name}" arg2="windows" /> | 832 | 832 | <then> | 833 | 833 | <exec executable="cargo" failonerror="true" dir="${quicheSourceDir}" resolveexecutable="true"> | 834 | | - <arg line="build -p quiche --features "ffi qlog" --release" /> | | 834 | + <arg line="build -p quiche --features "ffi qlog custom-client-dcid" --release" /> | 835 | 835 | <arg value="${cargoTarget}" /> | 836 | 836 | <!-- See https://github.com/cloudflare/quiche/blob/0.7.0/src/build.rs#L73 --> | 837 | 837 | <env key="DEBUG" value="true" /> | | 843 | 843 | <equals arg1="${crossCompile}" arg2="linux" /> | 844 | 844 | <then> | 845 | 845 | <exec executable="cargo" failonerror="true" dir="${quicheSourceDir}" resolveexecutable="true"> | 846 | | - <arg line="build -p quiche --features "ffi qlog" --release" /> | | 846 | + <arg line="build -p quiche --features "ffi qlog custom-client-dcid" --release" /> | 847 | 847 | <arg value="${cargoTarget}" /> | 848 | 848 | <env key="QUICHE_BSSL_PATH" value="${boringsslHomeDir}/" /> | 849 | 849 | <!-- Lets enable frame-pointers so we can profile better --> | | 856 | 856 | <equals arg1="${crossCompile}" arg2="mac" /> | 857 | 857 | <then> | 858 | 858 | <exec executable="cargo" failonerror="true" dir="${quicheSourceDir}" resolveexecutable="true"> | 859 | | - <arg line="build -p quiche --features "ffi qlog" --release" /> | | 859 | + <arg line="build -p quiche --features "ffi qlog custom-client-dcid" --release" /> | 860 | 860 | <env key="CFLAGS" value="${extraCflags}" /> | 861 | 861 | <env key="CXXFLAGS" value="${extraCxxflags}" /> | 862 | 862 | <arg value="${cargoTarget}" /> | | 869 | 869 | </elseif> | 870 | 870 | <else> | 871 | 871 | <exec executable="cargo" failonerror="true" dir="${quicheSourceDir}" resolveexecutable="true"> | 872 | | - <arg line="build -p quiche --features "ffi qlog" --release" /> | | 872 | + <arg line="build -p quiche --features "ffi qlog custom-client-dcid" --release" /> | 873 | 873 | <env key="CFLAGS" value="${extraCflags}" /> | 874 | 874 | <env key="CXXFLAGS" value="${extraCxxflags}" /> | 875 | 875 | <env key="QUICHE_BSSL_PATH" value="${boringsslHomeDir}/" /> | |
Collapse file Copy file name to clipboardExpand all lines: codec-native-quic/src/main/c/netty_quic_quiche.c +25-1Lines changed: 25 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -311,6 +311,10 @@ static jint netty_quiche_err_crypto_buffer_exceeded(JNIEnv* env, jclass clazz) { | 311 | 311 | return QUICHE_ERR_CRYPTO_BUFFER_EXCEEDED; | 312 | 312 | } | 313 | 313 |
| | 314 | +static jint netty_quiche_err_invalid_dcid_initialization(JNIEnv* env, jclass clazz) { | | 315 | + return QUICHE_ERR_INVALID_DCID_INITIALIZATION; | | 316 | +} | | 317 | + | 314 | 318 | static jint netty_quiche_cc_reno(JNIEnv* env, jclass clazz) { | 315 | 319 | return QUICHE_CC_RENO; | 316 | 320 | } | @@ -320,7 +324,7 @@ static jint netty_quiche_cc_cubic(JNIEnv* env, jclass clazz) { | 320 | 324 | } | 321 | 325 |
| 322 | 326 | static jint netty_quiche_cc_bbr(JNIEnv* env, jclass clazz) { | 323 | | - return QUICHE_CC_BBR; | | 327 | + return QUICHE_CC_BBR2_GCONGESTION; | 324 | 328 | } | 325 | 329 |
| 326 | 330 | static jint netty_quiche_path_event_type_new(JNIEnv* env, jclass clazz) { | @@ -402,6 +406,24 @@ static jlong netty_quiche_conn_new_with_tls(JNIEnv* env, jclass clazz, jlong sci | 402 | 406 | return (jlong) conn; | 403 | 407 | } | 404 | 408 |
| | 409 | +static jlong netty_quiche_conn_new_with_tls_and_client_dcid(JNIEnv* env, jclass clazz, jlong scid, jint scid_len, jlong odcid, jint odcid_len, jlong local, jint local_len, jlong peer, jint peer_len, jlong config, jlong ssl) { | | 410 | + const uint8_t * odcid_pointer = NULL; | | 411 | + if (odcid_len != -1) { | | 412 | + odcid_pointer = (const uint8_t *) odcid; | | 413 | + } | | 414 | + const struct sockaddr *local_pointer = (const struct sockaddr*) local; | | 415 | + const struct sockaddr *peer_pointer = (const struct sockaddr*) peer; | | 416 | + quiche_conn *conn = quiche_conn_new_with_tls_and_client_dcid((const uint8_t *) scid, (size_t) scid_len, | | 417 | + odcid_pointer, (size_t) odcid_len, | | 418 | + local_pointer, (socklen_t) local_len, | | 419 | + peer_pointer, (socklen_t) peer_len, | | 420 | + (quiche_config *) config, (void*) ssl); | | 421 | + if (conn == NULL) { | | 422 | + return -1; | | 423 | + } | | 424 | + return (jlong) conn; | | 425 | +} | | 426 | + | 405 | 427 | static jbyteArray to_byte_array(JNIEnv* env, const uint8_t* bytes, size_t len) { | 406 | 428 | if (bytes == NULL || len == 0) { | 407 | 429 | return NULL; | @@ -1155,6 +1177,7 @@ static const JNINativeMethod statically_referenced_fixed_method_table[] = { | 1155 | 1177 | { "quiche_err_out_of_identifiers", "()I", (void *) netty_quiche_err_out_of_identifiers }, | 1156 | 1178 | { "quiche_err_key_update", "()I", (void *) netty_quiche_err_key_update }, | 1157 | 1179 | { "quiche_err_crypto_buffer_exceeded", "()I", (void *) netty_quiche_err_crypto_buffer_exceeded }, | | 1180 | + { "quiche_err_invalid_dcid_initialization", "()I", (void *) netty_quiche_err_invalid_dcid_initialization }, | 1158 | 1181 | { "quiche_cc_reno", "()I", (void *) netty_quiche_cc_reno }, | 1159 | 1182 | { "quiche_cc_cubic", "()I", (void *) netty_quiche_cc_cubic }, | 1160 | 1183 | { "quiche_cc_bbr", "()I", (void *) netty_quiche_cc_bbr }, | @@ -1178,6 +1201,7 @@ static const JNINativeMethod fixed_method_table[] = { | 1178 | 1201 | { "quiche_conn_source_id", "(J)[B", (void *) netty_quiche_conn_source_id }, | 1179 | 1202 | { "quiche_conn_destination_id", "(J)[B", (void *) netty_quiche_conn_destination_id }, | 1180 | 1203 | { "quiche_conn_new_with_tls", "(JIJIJIJIJJZ)J", (void *) netty_quiche_conn_new_with_tls }, | | 1204 | + { "quiche_conn_new_with_tls_and_client_dcid", "(JIJIJIJIJJ)J", (void *) netty_quiche_conn_new_with_tls_and_client_dcid }, | 1181 | 1205 | { "quiche_conn_recv", "(JJIJ)I", (void *) netty_quiche_conn_recv }, | 1182 | 1206 | { "quiche_conn_send", "(JJIJ)I", (void *) netty_quiche_conn_send }, | 1183 | 1207 | { "quiche_conn_free", "(J)V", (void *) netty_quiche_conn_free }, | |
|