aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@fh-muenster.de>2020-06-03 18:10:46 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-04 12:35:47 +0200
commit2bacf9b5a618c30e4c20aabf7cce19c102005841 (patch)
tree0a00f1073074b1c55445028e61843f6d4f5f8442 /sys
parent1f837d8b3528ed65dd6a22495a8ef247a1f5b55b (diff)
sys/freebsd: mark some fields as big endian
Diffstat (limited to 'sys')
-rw-r--r--sys/freebsd/vnet.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/freebsd/vnet.txt b/sys/freebsd/vnet.txt
index 012e4cb7e..cc2d9dbca 100644
--- a/sys/freebsd/vnet.txt
+++ b/sys/freebsd/vnet.txt
@@ -752,7 +752,7 @@ icmpv6_mld_packet {
code const[0, int8]
csum csum[parent, pseudo, IPPROTO_ICMPV6, int16be]
mrd int16be
- unused int16
+ unused int16be
addr ipv6_addr
} [packed]
@@ -762,7 +762,7 @@ icmpv6_mldv2_listener_query_packet {
code const[0, int8]
csum csum[parent, pseudo, IPPROTO_ICMPV6, int16be]
mrd int16be
- unused int16
+ unused int16be
mca ipv6_addr
qrv int8:3
suppress int8:1
@@ -831,9 +831,9 @@ icmpv6_ndisc_router_advert_packet {
cur_hop_limit flags[hop_limits, int8]
# TODO: Implement bitflags for the router advert flags
router_flags int8
- router_lifetime int16
- reachable_time int32
- retrans_time int32
+ router_lifetime int16be
+ reachable_time int32be
+ retrans_time int32be
options array[icmpv6_ndisc_option]
} [packed]
@@ -930,7 +930,7 @@ tcp_nop_option {
tcp_mss_option {
type const[TCPOPT_MAXSEG, int8]
length len[parent, int8]
- seg_size int16
+ seg_size int16be
} [packed]
# https://tools.ietf.org/html/rfc7323#section-2