Skip to content

Commit 0f8e3d0

Browse files
committed
Add several IPsec related options
1 parent 5ab6269 commit 0f8e3d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,10 +946,15 @@ pub const SIGEV_NONE: ::c_int = 1;
946946
pub const SIGEV_SIGNAL: ::c_int = 2;
947947
pub const SIGEV_THREAD: ::c_int = 3;
948948

949+
pub const IP_RECVDSTADDR: ::c_int = 0x7;
950+
pub const IP_SEC_OPT: ::c_int = 0x22;
951+
949952
pub const IPV6_UNICAST_HOPS: ::c_int = 0x5;
950953
pub const IPV6_MULTICAST_IF: ::c_int = 0x6;
951954
pub const IPV6_MULTICAST_HOPS: ::c_int = 0x7;
952955
pub const IPV6_MULTICAST_LOOP: ::c_int = 0x8;
956+
pub const IPV6_RECVPKTINFO: ::c_int = 0x12;
957+
pub const IPV6_SEC_OPT: ::c_int = 0x22;
953958
pub const IPV6_V6ONLY: ::c_int = 0x27;
954959

955960
cfg_if! {
@@ -1426,6 +1431,8 @@ pub const TCP_RTO_MIN: ::c_int = 0x1a;
14261431
pub const TCP_RTO_MAX: ::c_int = 0x1b;
14271432
pub const TCP_LINGER2: ::c_int = 0x1c;
14281433

1434+
pub const UDP_NAT_T_ENDPOINT: ::c_int = 0x0103;
1435+
14291436
pub const SOL_SOCKET: ::c_int = 0xffff;
14301437
pub const SO_DEBUG: ::c_int = 0x01;
14311438
pub const SO_ACCEPTCONN: ::c_int = 0x0002;

0 commit comments

Comments
 (0)