public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Add ifcap2 names for RXTLS4 and RXTLS6 interface capabilities
@ 2022-07-11 11:55 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-07-11 11:55 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=0ed668df2cdd29abfb94de726745e43243c787d0

commit 0ed668df2cdd29abfb94de726745e43243c787d0
Author: Konstantin Belousov <kib@FreeBSD.org>
Date:   Wed Dec 15 05:03:23 2021 +0200

    Add ifcap2 names for RXTLS4 and RXTLS6 interface capabilities
    
    and corresponding nvlist capabilities name strings.
    
    Reviewed by:    hselasky, jhb, kp (previous version)
    Sponsored by:   NVIDIA Networking
    MFC after:      3 weeks
    Differential revision:  https://reviews.freebsd.org/D32551

Diff:
---
 newlib/libc/sys/rtems/include/net/if.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems/include/net/if.h
index 7649102c1..e90d4d240 100644
--- a/newlib/libc/sys/rtems/include/net/if.h
+++ b/newlib/libc/sys/rtems/include/net/if.h
@@ -252,6 +252,9 @@ struct if_data {
 #define	IFCAP_VXLAN_HWTSO	0x40000000 /* can do IFCAP_TSO on VXLANs */
 #define	IFCAP_TXTLS_RTLMT	0x80000000 /* can do TLS with rate limiting */
 
+#define	IFCAP2_RXTLS4		0x00001
+#define	IFCAP2_RXTLS6		0x00002
+
 #define IFCAP_HWCSUM_IPV6	(IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6)
 
 #define IFCAP_HWCSUM	(IFCAP_RXCSUM | IFCAP_TXCSUM)
@@ -259,6 +262,7 @@ struct if_data {
 #define	IFCAP_WOL	(IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC)
 #define	IFCAP_TOE	(IFCAP_TOE4 | IFCAP_TOE6)
 #define	IFCAP_TXTLS	(IFCAP_TXTLS4 | IFCAP_TXTLS6)
+#define	IFCAP2_RXTLS	(IFCAP2_RXTLS4 | IFCAP2_RXTLS6)
 
 #define	IFCAP_CANTCHANGE	(IFCAP_NETMAP | IFCAP_NV)
 #define	IFCAP_ALLCAPS		0xffffffff
@@ -294,6 +298,8 @@ struct if_data {
 #define	IFCAP_VXLAN_HWCSUM_NAME	"VXLAN_HWCSUM"
 #define	IFCAP_VXLAN_HWTSO_NAME	"VXLAN_HWTSO"
 #define	IFCAP_TXTLS_RTLMT_NAME	"TXTLS_RTLMT"
+#define	IFCAP2_RXTLS4_NAME	"RXTLS4"
+#define	IFCAP2_RXTLS6_NAME	"RXTLS6"
 
 #define	IFQ_MAXLEN	50
 #define	IFNET_SLOWHZ	1		/* granularity is 1 second */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-11 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 11:55 [newlib-cygwin] Add ifcap2 names for RXTLS4 and RXTLS6 interface capabilities Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).