mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
use libnetwork/slirp4netns from c/common
Most of the code moved there so if from there and remove it here. Some extra changes are required here. This is a bit of a mess. The pipe handling makes this a bit more difficult. [NO NEW TESTS NEEDED] This is just a rework, existing tests must pass. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
12
vendor/github.com/containers/common/libnetwork/slirp4netns/const.go
generated
vendored
Normal file
12
vendor/github.com/containers/common/libnetwork/slirp4netns/const.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
package slirp4netns
|
||||
|
||||
const (
|
||||
ipv6ConfDefaultAcceptDadSysctl = "/proc/sys/net/ipv6/conf/default/accept_dad"
|
||||
BinaryName = "slirp4netns"
|
||||
|
||||
// defaultMTU the default MTU override
|
||||
defaultMTU = 65520
|
||||
|
||||
// default slirp4ns subnet
|
||||
defaultSubnet = "10.0.2.0/24"
|
||||
)
|
||||
Reference in New Issue
Block a user