[PATCH 1/3] lib: Add ip6_common_octets function