aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/setup_linux-host_qemu-vm_arm64-kernel.md
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2019-06-26 11:21:34 +0800
committerDmitry Vyukov <dvyukov@google.com>2019-06-26 16:34:37 +0200
commitc2c0d4d6ae3a27d3c4457df81a03c06ddbe72282 (patch)
treecba2daf181ae65b368432dc1b709430c2bc1cc6d /docs/linux/setup_linux-host_qemu-vm_arm64-kernel.md
parent4d3422405ed6c68b57f24f80dcfd0abd3a2c6c1a (diff)
sys/linux: update mpls_lable and rta types
Kernel get mpls lable like ``` unsigned entry = be32_to_cpu(hdr->label_stack_entry); result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT; ``` So we just need to store the label in big endian order. For mpls rta types, kernel accpet only one lable for RTA_DST and multi labels for RTA_NEWDST. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Diffstat (limited to 'docs/linux/setup_linux-host_qemu-vm_arm64-kernel.md')
0 files changed, 0 insertions, 0 deletions