add back RTM_NEWNVLAN

This commit is contained in:
Mauri de Souza Meneguzzo
2025-01-20 10:01:33 -03:00
parent e8a6c1a631
commit 888e68d533
2 changed files with 5 additions and 0 deletions

View File

@@ -6100,3 +6100,6 @@ const (
)
type SockDiagReq C.struct_sock_diag_req
// Removed in Linux 6.13, kept for backwards compatibility.
const RTM_NEWNVLAN = 0x70

View File

@@ -6174,3 +6174,5 @@ type SockDiagReq struct {
Family uint8
Protocol uint8
}
const RTM_NEWNVLAN = 0x70