File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
src/unix/linux_like/android Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3096,6 +3096,12 @@ TUN_F_USO4
30963096TUN_F_USO6
30973097TUN_PKT_STRIP
30983098TUN_TX_TIMESTAMP
3099+ UDP_CORK
3100+ UDP_ENCAP
3101+ UDP_GRO
3102+ UDP_NO_CHECK6_RX
3103+ UDP_NO_CHECK6_TX
3104+ UDP_SEGMENT
30993105UINPUT_MAX_NAME_SIZE
31003106UINPUT_VERSION
31013107UIO_MAXIOV
Original file line number Diff line number Diff line change @@ -1323,6 +1323,15 @@ pub const SOL_ATALK: c_int = 258;
13231323pub const SOL_NETROM : c_int = 259 ;
13241324pub const SOL_ROSE : c_int = 260 ;
13251325
1326+ /* UDP socket options */
1327+ // include/uapi/linux/udp.h
1328+ pub const UDP_CORK : c_int = 1 ;
1329+ pub const UDP_ENCAP : c_int = 100 ;
1330+ pub const UDP_NO_CHECK6_TX : c_int = 101 ;
1331+ pub const UDP_NO_CHECK6_RX : c_int = 102 ;
1332+ pub const UDP_SEGMENT : c_int = 103 ;
1333+ pub const UDP_GRO : c_int = 104 ;
1334+
13261335/* DCCP socket options */
13271336pub const DCCP_SOCKOPT_PACKET_SIZE : c_int = 1 ;
13281337pub const DCCP_SOCKOPT_SERVICE : c_int = 2 ;
You can’t perform that action at this time.
0 commit comments