Add Chain API for managing nftables chains, including Add, Create, Delete, Clear, and Rename operations.

This commit is contained in:
2025-10-22 20:56:46 +05:00
parent 09ac999346
commit e7e53fc123
5 changed files with 210 additions and 0 deletions

3
nft.go
View File

@@ -26,6 +26,9 @@ type NFT interface {
// Table returns an API for working with tables.
Table() table.API
// Chain returns an API for working with chains.
Chain() chain.API
}
type nft struct {