Skip to content

Commit 908d954

Browse files
committed
sockets updlite protocol support, with checksum coverage settings.
Close GH-10468
1 parent 231ffaf commit 908d954

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ PHP NEWS
9898
ACK delays. (David Carlier)
9999
. Added DONTFRAGMENT support for path MTU discovery purpose. (David Carlier)
100100
. Added AF_DIVERT for raw socket for divert ports. (David Carlier)
101+
. Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite
102+
protocol support. (David Carlier)
101103

102104
- Standard:
103105
. E_NOTICEs emitted by unserialize() have been promoted to E_WARNING. (timwolla)

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ PHP 8.3 UPGRADE NOTES
141141
. IP_PMTUDISC_INTERFACE (Linux only).
142142
. IP_PMTUDISC_OMIT (Linux only).
143143
. AF_DIVERT (FreeBSD only).
144+
. SOL_UDPLITE.
145+
. UDPLITE_RECV_CSCOV.
146+
. UDPLITE_SEND_CSCOV.
144147

145148
========================================
146149
11. Changes to INI File Handling

ext/sockets/sockets.stub.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,13 @@
15251525
* @cvalue IPPROTO_UDP
15261526
*/
15271527
const SOL_UDP = UNKNOWN;
1528+
#ifdef IPPROTO_UDPLITE
1529+
/**
1530+
* @var int
1531+
* @cvalue IPPROTO_UDPLITE
1532+
*/
1533+
const SOL_UDPLITE = UNKNOWN;
1534+
#endif
15281535

15291536
#if HAVE_IPV6
15301537
/**
@@ -1769,6 +1776,20 @@
17691776
*/
17701777
const IP_PMTUDISC_OMIT = UNKNOWN;
17711778
#endif
1779+
#if defined(UDPLITE_SEND_CSCOV)
1780+
/**
1781+
* @var int
1782+
* @cvalue UDPLITE_SEND_CSCOV
1783+
*/
1784+
const UDPLITE_SEND_CSCOV = UNKNOWN;
1785+
#endif
1786+
#if defined(UDPLITE_RECV_CSCOV)
1787+
/**
1788+
* @var int
1789+
* @cvalue UDPLITE_RECV_CSCOV
1790+
*/
1791+
const UDPLITE_RECV_CSCOV = UNKNOWN;
1792+
#endif
17721793

17731794
/**
17741795
* @strict-properties

ext/sockets/sockets_arginfo.h

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)