Skip to content

Instantly share code, notes, and snippets.

View postwait's full-sized avatar

Theo Schlossnagle postwait

View GitHub Profile
diff --git a/usr/src/uts/common/inet/tcp/tcp_opt_data.c b/usr/src/uts/common/inet/tcp/tcp_opt_data.c
index 460ef6d..1a5363b 100644
--- a/usr/src/uts/common/inet/tcp/tcp_opt_data.c
+++ b/usr/src/uts/common/inet/tcp/tcp_opt_data.c
@@ -269,9 +269,6 @@ optdb_obj_t tcp_opt_obj = {
tcp_valid_levels_arr /* TCP valid level array */
};
-/* Maximum TCP initial cwin (start/restart). */
-#define TCP_MAX_INIT_CWND 16
commit 89140caf2308cd1f9dd76a0aadd0a9d48a640013
Author: Theo Schlossnagle <[email protected]>
Date: Tue Mar 26 18:48:37 2013 +0000
OMNIOS#52 Allow operator setting of TCP initial congestion window
Change the initial congestion window calculation to respect the
tcp_slow_start_initial and tcp_slow_start_after_idle tunables up
to a value of 16.
commit e8e2e7ee1a594986656fd51a1d90f70974a372fb
Author: Theo Schlossnagle <[email protected]>
Date: Tue Mar 26 18:48:37 2013 +0000
OMNIOS#52 Allow operator setting of TCP initial congestion window
Change the initial congestion window calculation to respect the
tcp_slow_start_initial and tcp_slow_start_after_idle tunables up
to a value of 16.
LuaJIT/src/lj_vm.o: file format elf64-x86-64-sol2
Contents of the .debug_frame section:
00000000 00000014 ffffffff CIE
Version: 1
Augmentation: ""
Code alignment factor: 1
Data alignment factor: -8
000006ec 00000020 00000678 FDE cie=00000078 pc=00005865..00005a4d
Augmentation data: 29 fb ff ff
DW_CFA_advance_loc: 1 to 00005866
DW_CFA_def_cfa_offset: 16
DW_CFA_offset: r6 (rbp) at cfa-16
DW_CFA_advance_loc: 3 to 00005869
DW_CFA_def_cfa_register: r6 (rbp)
DW_CFA_advance_loc2: 483 to 00005a4c
DW_CFA_def_cfa: r7 (rsp) ofs 8
diff --git a/usr/src/lib/fm/libfmd_snmp/Makefile.com b/usr/src/lib/fm/libfmd_snmp/Makefile.com
index 745a101..2acd46c 100644
--- a/usr/src/lib/fm/libfmd_snmp/Makefile.com
+++ b/usr/src/lib/fm/libfmd_snmp/Makefile.com
@@ -44,6 +44,8 @@ LIBS = $(DYNLIB) $(LINTLIB)
SRCDIR = ../common
+C99MODE= -xc99=%all
+
if (copyout(&fd1, &((int *)arg)[0], sizeof(int)) ||
copyout(&fd2, &((int *)arg)[1], sizeof(int))) {
input {
tcp {
port => 5000
format => json_event
type => raw
}
filter {
grep {
tags => web
{
"@source" => "tcp://10.8.20.111:39305/",
"@tags" => [
[0] "web"
],
"@fields" => {
"client" => "10.8.20.41",
"duration_usec" => 1505,
"status" => 200,
"request" => "/?uri=/",
grok {
type => "syslog"
pattern => [ "<%{POSINT:syslog_pri}>%{SYSLOGTIMESTAMP:syslog_timestamp} (%{SYSLOGHOST:syslog_hostname} )?%{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?:(?: \[ID\s%{DATA:syslog_msgid}\])? %{GREEDYDATA:syslog_message}" ]
add_field => [ "received_at", "%{@timestamp}" ]
add_field => [ "received_from", "%{@source_host}" ]
}