summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/dlpi.h
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2018-01-03 21:11:35 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2020-05-19 15:55:57 +0000
commitb22a70abf81f995ecc990b8444e63308bc389d5c (patch)
tree5142f78f319737bcd44477e4e3cf578ccd0617e4 /usr/src/uts/common/sys/dlpi.h
parentd77e6e0f12d19668c0e9068c0fcd7a2123da5373 (diff)
downloadillumos-joyent-b22a70abf81f995ecc990b8444e63308bc389d5c.tar.gz
12679 want viona driver for bhyve
Portions contributed by: Ryan Zezeski <rpz@joyent.com> Portions contributed by: John Levon <john.levon@joyent.com> Portions contributed by: Jason King <jason.king@joyent.com> Portions contributed by: Robert Mustacchi <rm@joyent.com> Portions contributed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Ryan Zezeski <ryan@zinascii.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/dlpi.h')
-rw-r--r--usr/src/uts/common/sys/dlpi.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/dlpi.h b/usr/src/uts/common/sys/dlpi.h
index 5bc2bd41c5..54aad9307a 100644
--- a/usr/src/uts/common/sys/dlpi.h
+++ b/usr/src/uts/common/sys/dlpi.h
@@ -20,6 +20,7 @@
*/
/*
* Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2018 Joyent, Inc.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -673,11 +674,11 @@ typedef struct {
#define HCKSUM_ENABLE 0x01 /* Set to enable hardware checksum */
/* capability */
#define HCKSUM_INET_PARTIAL 0x02 /* Partial 1's complement checksum */
- /* ability */
+ /* ability for TCP/UDP packets. */
#define HCKSUM_INET_FULL_V4 0x04 /* Full 1's complement checksum */
- /* ability for IPv4 packets. */
+ /* ability for IPv4 TCP/UDP packets. */
#define HCKSUM_INET_FULL_V6 0x08 /* Full 1's complement checksum */
- /* ability for IPv6 packets. */
+ /* ability for IPv6 TCP/UDP packets. */
#define HCKSUM_IPHDRCKSUM 0x10 /* IPv4 Header checksum offload */
/* capability */
#ifdef _KERNEL