diff options
author | Eric Wong <e@80x24.org> | 2017-03-16 03:16:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-03-17 22:39:12 +0000 |
commit | bf2fb0a16091201a9b2798ebdea54e03c1c3e61b (patch) | |
tree | a3cd9a2713024e87633908d59d545a07827f3b9a /lib/raindrops/aggregate/last_data_recv.rb | |
parent | 17d57231c4d9d3dfb486b6d37b85d57e6065958e (diff) | |
download | raindrops-freebsd.tar.gz |
FreeBSD not only uses different values than Linux for TCP states, but different names, too. To ease writing portable code between the OSes, do more CPP metaprogramming via extconf.rb and define a common hash supported on both OSes. Putting all this in a hash allows for easy dumping and mapping in an OS-neutral way, since the actual TCP states are OS-independent.
Diffstat (limited to 'lib/raindrops/aggregate/last_data_recv.rb')
0 files changed, 0 insertions, 0 deletions