MCPcopy Index your code
hub / github.com/google/gvisor / IPTables

Method IPTables

pkg/tcpip/stack/stack.go:2305–2307  ·  view source on GitHub ↗

IPTables returns the stack's iptables.

()

Source from the content-addressed store, hash-verified

2303
2304// IPTables returns the stack's iptables.
2305func (s *Stack) IPTables() *IPTables {
2306 return s.tables
2307}
2308
2309// NFTables returns the stack's nftables.
2310func (s *Stack) NFTables() NFTablesInterface {

Callers 15

GetSockOptMethod · 0.45
TestWriteStatsFunction · 0.45
WritePacketMethod · 0.45
writePacketMethod · 0.45
forwardUnicastPacketMethod · 0.45
HandlePacketMethod · 0.45
deliverPacketLocallyMethod · 0.45
TestWriteStatsFunction · 0.45
TestCloseLockingFunction · 0.45
writePacketMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestWriteStatsFunction · 0.36
TestWriteStatsFunction · 0.36
TestCloseLockingFunction · 0.36
TestIPTableWritePacketsFunction · 0.36
setupDropFilterFunction · 0.36
setupNATFunction · 0.36
setupTwiceNATFunction · 0.36
TestNATICMPErrorFunction · 0.36
TestLocallyRoutedPacketsFunction · 0.36