[PATCH v2 04/23] treewide: Use struct assignment instead of memcpy() for IP addresses