Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packetdrill: run_all: pass netmask to remote_ip arg #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gtests/net/packetdrill/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def StartTestIPv4(self, path):
'--local_ip=192.168.0.2 '
'--gateway_ip=192.168.0.1 '
'--netmask_ip=255.255.0.0 '
'--remote_ip=192.0.2.1 '
'--remote_ip=192.0.2.1/24 '
'-D TFO_COOKIE=de4f234f0f433a55 '
'-D CMSG_LEVEL_IP=SOL_IP '
'-D CMSG_TYPE_RECVERR=IP_RECVERR')
Expand All @@ -77,7 +77,7 @@ def StartTestIPv6(self, path):
('--ip_version=ipv6 --mtu=1520 '
'--local_ip=fd3d:fa7b:d17d::0 '
'--gateway_ip=fd3d:fa7b:d17d:8888::0 '
'--remote_ip=2001:DB8::1 '
'--remote_ip=2001:DB8::1/32 '
'-D TFO_COOKIE=6aa6ae70c288023b '
'-D CMSG_LEVEL_IP=SOL_IPV6 '
'-D CMSG_TYPE_RECVERR=IPV6_RECVERR')
Expand All @@ -91,7 +91,7 @@ def StartTestIPv4Mappedv6(self, path):
'--local_ip=192.168.0.2 '
'--gateway_ip=192.168.0.1 '
'--netmask_ip=255.255.0.0 '
'--remote_ip=192.0.2.1 '
'--remote_ip=192.0.2.1/24 '
'-D TFO_COOKIE=de4f234f0f433a55 '
'-D CMSG_LEVEL_IP=SOL_IPV6 '
'-D CMSG_TYPE_RECVERR=IPV6_RECVERR')
Expand Down
2 changes: 1 addition & 1 deletion gtests/net/tcp/mtu_probe/basic-v4.pkt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
../common/set_sysctls.py \
/proc/sys/net/ipv4/tcp_mtu_probing=2 \
/proc/sys/net/ipv4/tcp_base_mss=512
ip route change 192.0.2.1 via 192.168.0.2 dev tun0 advmss 600 mtu lock 640 initcwnd 11
ip route add 192.0.2.1 via 192.168.0.2 dev tun0 advmss 600 mtu lock 640 initcwnd 11
ethtool -K tun0 gso off tso off
`

Expand Down
2 changes: 1 addition & 1 deletion gtests/net/tcp/mtu_probe/basic-v6.pkt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
../common/set_sysctls.py \
/proc/sys/net/ipv4/tcp_mtu_probing=2 \
/proc/sys/net/ipv4/tcp_base_mss=512
ip -6 route change 2001:DB8::1 via fd3d:fa7b:d17d:8888::0 dev tun0 advmss 600 mtu lock 660 initcwnd 11
ip -6 route add 2001:DB8::1 via fd3d:fa7b:d17d:8888::0 dev tun0 advmss 600 mtu lock 660 initcwnd 11
ethtool -K tun0 gso off tso off
`

Expand Down