File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -792,6 +792,28 @@ pub const IPPROTO_DIVERT: ::c_int = 258;
792
792
/// SeND pseudo-protocol
793
793
pub const IPPROTO_SEND : :: c_int = 259 ;
794
794
795
+ // sys/netinet/TCP.h
796
+ pub const TCP_NODELAY : :: c_int = 1 ;
797
+ pub const TCP_NOPUSH : :: c_int = 4 ;
798
+ pub const TCP_NOOPT : :: c_int = 8 ;
799
+ pub const TCP_MD5SIG : :: c_int = 16 ;
800
+ pub const TCP_INFO : :: c_int = 32 ;
801
+ pub const TCP_LOG : :: c_int = 34 ;
802
+ pub const TCP_LOGBUF : :: c_int = 35 ;
803
+ pub const TCP_LOGID : :: c_int = 36 ;
804
+ pub const TCP_LOGDUMP : :: c_int = 37 ;
805
+ pub const TCP_LOGDUMPID : :: c_int = 38 ;
806
+ pub const TCP_CONGESTION : :: c_int = 64 ;
807
+ pub const TCP_CCALGOOPT : :: c_int = 65 ;
808
+ pub const TCP_DELACK : :: c_int = 72 ;
809
+ pub const TCP_KEEPINIT : :: c_int = 128 ;
810
+ pub const TCP_KEEPIDLE : :: c_int = 256 ;
811
+ pub const TCP_KEEPINTVL : :: c_int = 512 ;
812
+ pub const TCP_KEEPCNT : :: c_int = 1024 ;
813
+ pub const TCP_FASTOPEN : :: c_int = 1025 ;
814
+ pub const TCP_PCAP_OUT : :: c_int = 2048 ;
815
+ pub const TCP_PCAP_IN : :: c_int = 4096 ;
816
+
795
817
pub const IP_BINDANY : :: c_int = 24 ;
796
818
797
819
pub const PF_SLOW : :: c_int = AF_SLOW ;
You can’t perform that action at this time.
0 commit comments