MCPcopy Create free account

hub / github.com/google/nftables / types & classes

Types & classes131 in github.com/google/nftables

↓ 12 callersTypeAliasTableFamily
TableFamily specifies the address family of the table Match or Target Info data is contained in. On purpose, we don't import the expr package here in
xt/info.go:10
↓ 7 callersTypeAliasMonitorEventType
monitor.go:94
↓ 6 callersTypeAliasVerdictKind
expr/verdict.go:39
↓ 5 callersTypeAliasUnknown
Unknown represents the bytes Info payload for unknown Info types where no dedicated match/target info type has (yet) been defined.
xt/unknown.go:5
↓ 4 callersTypeAliasTableFamily
TableFamily specifies the address family for this table.
table.go:30
↓ 3 callersTypeAliasComment
Comment gets marshalled and unmarshalled as a fixed-sized char array, filled with zeros as necessary, see: https://elixir.bootlin.com/linux/v6.8.7/sou
xt/comment.go:15
↓ 2 callersTypeAliasCmpOp
CmpOp specifies which type of comparison should be performed.
expr/expr.go:428
↓ 1 callersTypeAliasAddrTypeFlags
xt/match_addrtype.go:15
↓ 1 callersTypeAliasChainHook
ChainHook specifies at which step in packet processing the Chain should be executed. See also https://wiki.nftables.org/wiki-nftables/index.php/Config
chain.go:30
↓ 1 callersTypeAliasChainPolicy
ChainPolicy defines what this chain default policy will be.
chain.go:88
↓ 1 callersTypeAliasChainPriority
ChainPriority orders the chain relative to Netfilter internal operations. See also https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chain
chain.go:51
↓ 1 callersTypeAliasChainType
ChainType defines what this chain will be used for. See also https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains#Base_chain_types
chain.go:78
↓ 1 callersTypeAliasCtKey
CtKey specifies which piece of conntrack information should be loaded. See also https://wiki.nftables.org/wiki-nftables/index.php/Matching_connection_
expr/ct.go:27
↓ 1 callersTypeAliasExthdrOp
expr/exthdr.go:25
↓ 1 callersTypeAliasFlowtableFlags
flowtable.go:62
↓ 1 callersTypeAliasFlowtableHook
flowtable.go:71
↓ 1 callersTypeAliasFlowtablePriority
flowtable.go:83
↓ 1 callersTypeAliasHashType
expr/hash.go:25
↓ 1 callersTypeAliasLimitTime
LimitTime represents the limit unit.
expr/limit.go:37
↓ 1 callersTypeAliasLimitType
LimitType represents the type of the limit expression.
expr/limit.go:28
↓ 1 callersTypeAliasLogFlags
expr/log.go:40
↓ 1 callersTypeAliasLogLevel
expr/log.go:25
↓ 1 callersTypeAliasMetaKey
MetaKey specifies which piece of meta information should be loaded. See also https://wiki.nftables.org/wiki-nftables/index.php/Matching_packet_metainf
expr/expr.go:227
↓ 1 callersTypeAliasNATType
expr/nat.go:25
↓ 1 callersTypeAliasObjType
obj.go:33
↓ 1 callersTypeAliasPayloadBase
expr/payload.go:25
↓ 1 callersTypeAliasPayloadCsumType
expr/payload.go:26
↓ 1 callersTypeAliasQueueFlag
expr/queue.go:27
↓ 1 callersTypeAliasSocketKey
expr/socket.go:32
↓ 1 callersTypeAliasTcpInvFlagset
xt/match_tcp.go:21
↓ 1 callersTypeAliasType
userdata/userdata.go:23
↓ 1 callersTypeAliasUdpInvFlagset
xt/match_udp.go:18
StructAddrType
Rev. 0, see https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/xt_addrtype.h#L38
xt/match_addrtype.go:8
StructAddrTypeV1
See https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/xt_addrtype.h#L31
xt/match_addrtype.go:33
StructAlignedBuff
AlignedBuff implements marshalling and unmarshalling information in platform/architecture native endianess and data type alignment. It additionally co
alignedbuff/alignedbuff.go:33
InterfaceAny
Any is an interface implemented by any expression type.
expr/expr.go:219
StructBitwise
expr/bitwise.go:25
InterfaceByteOrder
ByteOrder is like binary.ByteOrder, but allocates memory and returns byte slices, for convenience.
binaryutil/binaryutil.go:26
StructByteorder
expr/byteorder.go:32
TypeAliasByteorderOp
expr/byteorder.go:25
StructChain
A Chain contains Rules. See also https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains
chain.go:98
StructCmp
Cmp compares a register with the specified data.
expr/expr.go:441
StructConn
A Conn represents a netlink connection of the nftables family. All methods return their input, so that variables can be defined from string literals
conn.go:37
FuncTypeConnOption
ConnOption is an option to change the behavior of the nftables Conn returned by Open.
conn.go:50
StructConnlimit
Per https://git.netfilter.org/libnftnl/tree/src/expr/connlimit.c?id=84d12cfacf8ddd857a09435f3d982ab6250d250c
expr/connlimit.go:34
TypeAliasConntrackFlags
xt/match_conntrack.go:9
StructConntrackMtinfo1
See https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/xt_conntrack.h#L38
xt/match_conntrack.go:49
StructConntrackMtinfo2
See https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/xt_conntrack.h#L51
xt/match_conntrack.go:56
StructConntrackMtinfo3
See https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/xt_conntrack.h#L64
xt/match_conntrack.go:63
StructConntrackMtinfoBase
xt/match_conntrack.go:28
StructCounter
expr/counter.go:25
StructCounterObj
counter.go:23
StructCt
Ct defines type for NFT connection tracking
expr/ct.go:112
StructCtExpect
expr/ct.go:260
StructCtHelper
expr/ct.go:194
TypeAliasCtStatePolicyTimeout
expr/ct.go:67
StructCtTimeout
expr/ct.go:321
StructDup
expr/dup.go:25
StructDynset
Dynset represent a rule dynamically adding or updating a set or a map based on an incoming packet.
expr/dynset.go:35
StructExthdr
expr/exthdr.go:32
StructFib
Fib defines fib expression structure
expr/fib.go:26
StructFlowOffload
expr/flow_offload.go:26
StructFlowtable
flowtable.go:96
StructGenMsg
gen.go:10
StructHash
Hash defines type for nftables internal hashing functions
expr/hash.go:33
StructImmediate
expr/immediate.go:26
InterfaceInfoAny
InfoAny is a (un)marshaling implemented by any info type.
xt/info.go:13
StructLimit
Limit represents a rate limit expression.
expr/limit.go:66
StructLog
Log defines type for NFT logging See https://git.netfilter.org/libnftnl/tree/src/expr/log.c?id=09456c720e9c00eecc08e41ac6b7c291b3821ee5#n25
expr/log.go:55
StructLookup
Lookup represents a match against the contents of a set.
expr/lookup.go:26
StructMasq
Masq (Masquerade) is a special case of SNAT, where the source address is automagically set to the address of the output interface. See also https://wi
expr/expr.go:331
StructMatch
See https://git.netfilter.org/libnftnl/tree/src/expr/match.c?id=09456c720e9c00eecc08e41ac6b7c291b3821ee5#n30
expr/match.go:14
StructMeta
Meta loads packet meta information for later comparisons. See also https://wiki.nftables.org/wiki-nftables/index.php/Matching_packet_metainformation
expr/expr.go:260
StructMonitor
A Monitor is an event-based nftables monitor that will receive one event per new (or deleted) table, chain, rule, set, etc., depending on the monitor
monitor.go:138
TypeAliasMonitorAction
monitor.go:26
StructMonitorEvent
A MonitorEvent represents a single change received via a [Monitor]. Depending on the Type, the Data field can be type-asserted to the specific data t
monitor.go:118
StructMonitorEvents
monitor.go:125
TypeAliasMonitorObject
monitor.go:36
FuncTypeMonitorOption
func(*Monitor)
monitor.go:152
StructNAT
expr/nat.go:33
StructNFGenMsg
General form of address family dependent message, see https://git.netfilter.org/libnftnl/tree/include/linux/netfilter/nfnetlink.h#29
util.go:34
StructNamedObj
NamedObj represents nftables stateful object attributes Corresponds to netfilter nft_object_attributes as per https://git.netfilter.org/libnftnl/tree/
obj.go:75
TypeAliasNatIPv4MultiRangeCompat
NatIPv4MultiRangeCompat despite being a slice of NAT IPv4 ranges is currently allowed to only hold exactly one element. See https://elixir.bootlin.co
xt/target_masquerade_ip.go:23
StructNatIPv4Range
See https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/nf_nat.h#L25
xt/target_masquerade_ip.go:11
StructNatRange
see: https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/nf_nat.h#L38
xt/target_dnat.go:27
StructNatRange2
see: https://elixir.bootlin.com/linux/v5.17.7/source/include/uapi/linux/netfilter/nf_nat.h#L46
xt/target_dnat.go:36
TypeAliasNatRangeFlags
xt/target_dnat.go:9
StructNotrack
expr/notrack.go:22
StructNumgen
Numgen defines Numgen expression structure
expr/numgen.go:27
InterfaceObj
Obj represents a netfilter stateful object. See also https://wiki.nftables.org/wiki-nftables/index.php/Stateful_objects
obj.go:64
StructObjref
expr/objref.go:25
StructPayload
expr/payload.go:48
TypeAliasPayloadOperationType
expr/payload.go:27
StructQueue
expr/queue.go:40
TypeAliasQueueAttribute
expr/queue.go:25
StructQuota
Quota defines a threshold against a number of bytes.
expr/quota.go:26
StructQuotaObj
quota.go:23
StructRange
Range implements range expression
expr/range.go:26
StructRecorder
Recorder provides an nftables connection that does not send to the Linux kernel but instead records netlink messages into the recorder. The recorded r
internal/nftest/nftest.go:17
StructRedir
expr/redirect.go:25
next →1–100 of 131, ranked by callers