Uses IP address length in offset calculation