Skip to content

Commit

Permalink
freebsd adding further TCP stack related constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Dec 22, 2024
1 parent dd47a01 commit fdc60fc
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1500,17 +1500,38 @@ TAB3
TABDLY
TCP_BBR_ALGORITHM
TCP_BBR_DRAIN_PG
TCP_BBR_EXTRA_STATE
TCP_BBR_FLOOR_MIN_TSO
TCP_BBR_HDWR_PACE
TCP_BBR_IWINTSO
TCP_BBR_MAX_RTO
TCP_BBR_MIN_RTO
TCP_BBR_MIN_TOPACEOUT
TCP_BBR_PACE_CROSS
TCP_BBR_PACE_DEL_TAR
TCP_BBR_PACE_OH
TCP_BBR_PACE_PER_SEC
TCP_BBR_PACE_SEG_MAX
TCP_BBR_PACE_SEG_MIN
TCP_BBR_POLICER_DETECT
TCP_BBR_PROBE_RTT_GAIN
TCP_BBR_PROBE_RTT_INT
TCP_BBR_PROBE_RTT_LEN
TCP_BBR_RACK_INIT_RATE
TCP_BBR_RACK_RTT_USE
TCP_BBR_RETRAN_WTSO
TCP_BBR_SEND_IWND_IN_TSO
TCP_BBR_STARTUP_LOSS_EXIT
TCP_BBR_STARTUP_PG
TCP_BBR_TMR_PACE_OH
TCP_BBR_TSLIMITS
TCP_BBR_TSTMP_RAISES
TCP_BBR_USEDEL_RATE
TCP_BBR_USE_RACK_RR
TCP_BBR_UTTER_MAX_TSO
TCP_CCALGOOPT
TCP_CONGESTION
TCP_DATA_AFTER_CLOSE
TCP_DELACK
TCP_FASTOPEN
TCP_FASTOPEN_PSK_LEN
Expand All @@ -1534,6 +1555,7 @@ TCP_PCAP_IN
TCP_PCAP_OUT
TCP_PERF_INFO
TCP_PROC_ACCOUNTING
TCP_RACK_DO_DETECTION
TCP_RACK_EARLY_SEG
TCP_RACK_MBUF_QUEUE
TCP_RACK_MIN_TO
Expand All @@ -1544,6 +1566,7 @@ TCP_RACK_PRR_SENDALOT
TCP_RACK_REORD_FADE
TCP_RACK_REORD_THRESH
TCP_RACK_TLP_REDUCE
TCP_RACK_TLP_USE
TCP_REMOTE_UDP_ENCAPS_PORT
TCP_REUSPORT_LB_NUMA
TCP_SHARED_CWND_ALLOWED
Expand Down
23 changes: 23 additions & 0 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3778,6 +3778,29 @@ pub const TCP_BBR_USEDEL_RATE: c_int = 1079;
pub const TCP_BBR_MIN_RTO: c_int = 1080;
pub const TCP_BBR_MAX_RTO: c_int = 1081;
pub const TCP_BBR_ALGORITHM: c_int = 1083;
pub const TCP_BBR_PACE_PER_SEC: c_int = 1086;
pub const TCP_BBR_PACE_DEL_TAR: c_int = 1087;
pub const TCP_BBR_PACE_SEG_MAX: c_int = 1088;
pub const TCP_BBR_PACE_SEG_MIN: c_int = 1089;
pub const TCP_BBR_PACE_CROSS: c_int = 1090;
pub const TCP_RACK_TLP_USE: c_int = 1095;
pub const TCP_BBR_TMR_PACE_OH: c_int = 1096;
pub const TCP_RACK_DO_DETECTION: c_int = 1097;
pub const TCP_BBR_RACK_RTT_USE: c_int = 1098;
pub const TCP_BBR_RETRAN_WTSO: c_int = 1099;
pub const TCP_DATA_AFTER_CLOSE: c_int = 1100;
pub const TCP_BBR_PROBE_RTT_GAIN: c_int = 1101;
pub const TCP_BBR_PROBE_RTT_LEN: c_int = 1102;
pub const TCP_BBR_SEND_IWND_IN_TSO: c_int = 1103;
pub const TCP_BBR_USE_RACK_RR: c_int = 1104;
pub const TCP_BBR_HDWR_PACE: c_int = 1105;
pub const TCP_BBR_UTTER_MAX_TSO: c_int = 1106;
pub const TCP_BBR_EXTRA_STATE: c_int = 1107;
pub const TCP_BBR_FLOOR_MIN_TSO: c_int = 1108;
pub const TCP_BBR_MIN_TOPACEOUT: c_int = 1109;
pub const TCP_BBR_TSTMP_RAISES: c_int = 1110;
pub const TCP_BBR_POLICER_DETECT: c_int = 1111;
pub const TCP_BBR_RACK_INIT_RATE: c_int = 1112;

pub const IP_BINDANY: c_int = 24;
pub const IP_BINDMULTI: c_int = 25;
Expand Down

0 comments on commit fdc60fc

Please sign in to comment.