git: 34c8598eb1bb - main - libsysdecode: Match socket option names containing underscores
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Nov 2022 17:47:09 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=34c8598eb1bb101976d311051f9e630a6dfb6a0f
commit 34c8598eb1bb101976d311051f9e630a6dfb6a0f
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-11-02 17:01:22 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-11-02 17:46:24 +0000
libsysdecode: Match socket option names containing underscores
MFC after: 1 week
Sponsored by: Modirum MDPay
Sponsored by: Klara, Inc.
---
lib/libsysdecode/mktables | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index d61ae02205fe..a0ff8ee8516c 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -137,7 +137,7 @@ gen_table "sigtrapcode" "TRAP_[A-Z]+[[:space:]]+[0-9]+" "sys/
gen_table "sockdomain" "PF_[[:alnum:]]+[[:space:]]+" "sys/socket.h"
gen_table "sockfamily" "AF_[[:alnum:]]+[[:space:]]+" "sys/socket.h"
gen_table "sockipproto" "IPPROTO_[[:alnum:]]+[[:space:]]+" "netinet/in.h"
-gen_table "sockopt" "SO_[A-Z]+[[:space:]]+0x[0-9]+" "sys/socket.h"
+gen_table "sockopt" "SO_[A-Z_]+[[:space:]]+0x[0-9]+" "sys/socket.h"
gen_table "sockoptip" "(IP_[[:alnum:]_]+|MCAST_[[:alnum:]_]+_GROUP)[[:space:]]+" "netinet/in.h" "IP_DEFAULT|IP_MIN|IP_MAX|IP_PORTRANGE"
gen_table "sockoptipv6" "IPV6_[[:alnum:]_]+[[:space:]]+[0-9]+" "netinet6/in6.h" "IPV6_ADDR_|IPV6_TAG_DIRECT|IPV6_OPTIONS|IPV6_RECVOPTS|IPV6_RECVRETOPTS|IPV6_RECVDSTADDR|IPV6_RETOPTS|IPV6_2292|IPV6_RECVRTHDRDSTOPTS|IPV6_REACHCONF|IPV6_PKTOPTIONS"
gen_table "sockoptsctp" "SCTP_[[:alnum:]_]+[[:space:]]+[0-9]+" "netinet/sctp.h"