summaryrefslogtreecommitdiff
path: root/regress/sys/netinet6
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-25 22:42:42 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-12-25 22:42:42 +0000
commit509deade71cc8995d7ef8be5454df8877a4c0c79 (patch)
tree4bacedfa210c6c3f1fff5b73ca1279a35a3f474b /regress/sys/netinet6
parent3694398e89d7d2188a51a319390b809dad0ce8a3 (diff)
Wrap long lines.
Diffstat (limited to 'regress/sys/netinet6')
-rw-r--r--regress/sys/netinet6/frag6/frag6_mf1end.py9
-rw-r--r--regress/sys/netinet6/frag6/frag6_overdrop.py15
-rw-r--r--regress/sys/netinet6/frag6/frag6_overhead.py9
-rw-r--r--regress/sys/netinet6/frag6/frag6_overhead1.py9
-rw-r--r--regress/sys/netinet6/frag6/frag6_overtail.py9
-rw-r--r--regress/sys/netinet6/frag6/frag6_overtail1.py9
-rw-r--r--regress/sys/netinet6/frag6/frag6_timeout.py18
7 files changed, 52 insertions, 26 deletions
diff --git a/regress/sys/netinet6/frag6/frag6_mf1end.py b/regress/sys/netinet6/frag6/frag6_mf1end.py
index c8a2b6f17a8..5802c471f48 100644
--- a/regress/sys/netinet6/frag6/frag6_mf1end.py
+++ b/regress/sys/netinet6/frag6/frag6_mf1end.py
@@ -17,9 +17,12 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2)/bytes(packet)[56:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:56])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_overdrop.py b/regress/sys/netinet6/frag6/frag6_overdrop.py
index 8d57884f141..eb9d4347db6 100644
--- a/regress/sys/netinet6/frag6/frag6_overdrop.py
+++ b/regress/sys/netinet6/frag6/frag6_overdrop.py
@@ -20,11 +20,16 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1)/dummy)
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1)/dummy)
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2)/bytes(packet)[56:64])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_overhead.py b/regress/sys/netinet6/frag6/frag6_overhead.py
index 9847cf793b9..64a3f837d86 100644
--- a/regress/sys/netinet6/frag6/frag6_overhead.py
+++ b/regress/sys/netinet6/frag6/frag6_overhead.py
@@ -17,9 +17,12 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1)/bytes(packet)[48:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1)/bytes(packet)[48:64])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_overhead1.py b/regress/sys/netinet6/frag6/frag6_overhead1.py
index 2f15e0db062..eb9174ddff2 100644
--- a/regress/sys/netinet6/frag6/frag6_overhead1.py
+++ b/regress/sys/netinet6/frag6/frag6_overhead1.py
@@ -17,9 +17,12 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2)/bytes(packet)[56:64])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_overtail.py b/regress/sys/netinet6/frag6/frag6_overtail.py
index 8c1556eb196..ae889f684a6 100644
--- a/regress/sys/netinet6/frag6/frag6_overtail.py
+++ b/regress/sys/netinet6/frag6/frag6_overtail.py
@@ -17,9 +17,12 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2)/bytes(packet)[56:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:56])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_overtail1.py b/regress/sys/netinet6/frag6/frag6_overtail1.py
index 8807dd605b3..f9ff2cfa619 100644
--- a/regress/sys/netinet6/frag6/frag6_overtail1.py
+++ b/regress/sys/netinet6/frag6/frag6_overtail1.py
@@ -17,9 +17,12 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1)/bytes(packet)[48:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1)/bytes(packet)[48:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f
diff --git a/regress/sys/netinet6/frag6/frag6_timeout.py b/regress/sys/netinet6/frag6/frag6_timeout.py
index 7b88986db58..423123eae18 100644
--- a/regress/sys/netinet6/frag6/frag6_timeout.py
+++ b/regress/sys/netinet6/frag6/frag6_timeout.py
@@ -20,12 +20,18 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2, m=1)/bytes(packet)[56:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=3, m=1)/bytes(packet)[64:72])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=4, m=1)/bytes(packet)[72:80])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=5)/bytes(packet)[80:88])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2, m=1)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=3, m=1)/bytes(packet)[64:72])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=4, m=1)/bytes(packet)[72:80])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=5)/bytes(packet)[80:88])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f