summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-10-10 14:22:14 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-10-10 14:22:14 +0000
commite687d254784b0c4ab12636f7a942f447418d5e82 (patch)
tree31c7aedd5ac817468533e5da3cdf7659988ecf3c /sys/src/cmd/cpp/cpp.c
parent1a6324970d4cb0f0508caa3a685355d500709f1a (diff)
devip: use top bit (type) | subnet-id for V6H() route hash macro
theres no structure in the lower 32 bits of an ipv6 address. use the top bit to distinguish special stuff like multicast and link-local addresses, and use the 16-bit subnet-id bits for the rest.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.c')
0 files changed, 0 insertions, 0 deletions