summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/ip.h
diff options
context:
space:
mode:
authorKeith Wesolowski <keith.wesolowski@joyent.com>2012-03-18 01:00:49 +0000
committerKeith M Wesolowski <keith.wesolowski@joyent.com>2012-03-19 18:53:19 +0000
commitd27fed2832f8726d06a5611c7fbf5e0c061e458f (patch)
tree0e5f2477f7aed6d8424fe9fda6292213eaedf6d2 /usr/src/uts/common/inet/ip.h
parent2e9c9a5042bf2e640d2716e2ffd54d2f2460e089 (diff)
downloadillumos-joyent-d27fed2832f8726d06a5611c7fbf5e0c061e458f.tar.gz
OS-1041 node process stuck in squeue mess
Diffstat (limited to 'usr/src/uts/common/inet/ip.h')
-rw-r--r--usr/src/uts/common/inet/ip.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/ip.h b/usr/src/uts/common/inet/ip.h
index 7fd66dab72..bd50364310 100644
--- a/usr/src/uts/common/inet/ip.h
+++ b/usr/src/uts/common/inet/ip.h
@@ -2196,6 +2196,8 @@ struct ip_xmit_attr_s {
*/
ixa_notify_t ixa_notify; /* Registered upcall notify function */
void *ixa_notify_cookie; /* ULP cookie for ixa_notify */
+
+ uint_t ixa_tcpcleanup; /* Used by conn_ixa_cleanup */
};
/*
@@ -2267,6 +2269,14 @@ struct ip_xmit_attr_s {
#define IXA_FREE_TSL 0x00000002 /* ixa_tsl needs to be rele */
/*
+ * Trivial state machine used to synchronize IXA cleanup for TCP connections.
+ * See conn_ixa_cleanup().
+ */
+#define IXATC_IDLE 0x00000000
+#define IXATC_INPROGRESS 0x00000001
+#define IXATC_COMPLETE 0x00000002
+
+/*
* Simplistic way to set the ixa_xmit_hint for locally generated traffic
* and forwarded traffic. The shift amount are based on the size of the
* structs to discard the low order bits which don't have much if any variation